JeremyYao commented on issue #1027:
URL: 
https://github.com/apache/daffodil-vscode/issues/1027#issuecomment-2923160612

   @hdalsania, when we're setting a different location for the temp TDML file, 
how should we go about determining the folder to save it in the event there are 
multiple launch.json configs? 
   
   For example, 
   ```JSON
   {
       "version": "0.2.0",
       "configurations": [
           {
               "request": "launch",
               "type": "dfdl",
               "name": "jpeg",
               "schema": {
                   "path": "${workspaceFolder}/jpeg.dfdl.xsd",
                   "rootName": null,
                   "rootNamespace": null
               },
               "data": "${workspaceFolder}/if3ldk2w2j841.jpg",
               "debugServer": 4711,
               "infosetFormat": "xml",
               "infosetOutput": {
                   "type": "file",
                   "path": "${workspaceFolder}/target/infoset.xml"
               },
               "tdmlConfig": {
                   "action": "generate",
                   "path": "undefined",
                   "name": "undefined",
                   "description": "C:/Path2"
               },
               "trace": true,
               "stopOnEntry": true,
               "useExistingServer": false,
               "openDataEditor": true,
               "openInfosetView": true,
               "openInfosetDiffView": true,
               "daffodilDebugClasspath": [],
               "dataEditor": {
                   "port": 9069,
                   "logging": {
                       "file": 
"${workspaceFolder}/dataEditor-${omegaEditPort}.log",
                       "level": "info"
                   }
               },
               "dfdlDebugger": {
                   "logging": {
                       "file": "${workspaceFolder}/daffodil-debugger.log",
                       "level": "INFO"
                   }
               }
           },
           {
               "request": "launch",
               "type": "dfdl",
               "name": "Wizard Config",
               "schema": {
                   "path": "${command:AskForSchemaName}",
                   "rootName": null,
                   "rootNamespace": null
               },
               "data": "${command:AskForDataName}",
               "debugServer": 4711,
               "infosetFormat": "xml",
               "infosetOutput": {
                   "type": "file",
                   "path": "${workspaceFolder}/target/infoset.xml"
               },
               "tdmlConfig": {
                   "action": "generate",
                   "path": "C:/Path1",
                   "name": "undefined",
                   "description": "undefined"
               },
               "trace": true,
               "stopOnEntry": true,
               "useExistingServer": false,
               "openDataEditor": false,
               "openInfosetView": false,
               "openInfosetDiffView": false,
               "daffodilDebugClasspath": [],
               "dataEditor": {
                   "port": 6969,
                   "logging": {
                       "file": 
"${workspaceFolder}/dataEditor-${omegaEditPort}.log",
                       "level": "info"
                   }
               },
               "dfdlDebugger": {
                   "logging": {
                       "file": "${workspaceFolder}/daffodil-debugger.log",
                       "level": "INFO"
                   }
               }
           }
       ]
   }
   ```
   
   Which path would we want to pick here? 
   
   Would it be better to store the path we want inside of the global VS Code 
settings window as pictured below: 
   
   
![Image](https://github.com/user-attachments/assets/256db5a1-fe90-4975-8879-ec702d007e1c)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to