JeremyYao commented on code in PR #1468:
URL: https://github.com/apache/daffodil-vscode/pull/1468#discussion_r2452594073
##########
src/adapter/activateDaffodilDebug.ts:
##########
@@ -609,12 +609,28 @@ class DaffodilConfigurationProvider
config.debugServer = 4711
}
- if (!config.schema) {
- return vscode.window
- .showInformationMessage('Cannot find a schema to debug')
- .then((_) => {
- return undefined // abort launch
- })
+ if (!config.schema || config.schema.path == '') {
Review Comment:
COnfig used is
```json
{
"request": "launch",
"type": "dfdl",
"name": "Wizard Config",
"schema": {
"rootName": null,
"rootNamespace": null
},
"data": "",
"debugServer": 4711,
"infosetFormat": "xml",
"infosetOutput": {
"type": "file",
"path": "${workspaceFolder}/target/infoset.xml"
},
"tdmlConfig": {
"action": "none"
},
"trace": true,
"stopOnEntry": true,
"useExistingServer": false,
"openDataEditor": true,
"openInfosetView": false,
"openInfosetDiffView": false,
"daffodilDebugClasspath": [],
"dataEditor": {
"port": 9000,
"logging": {
"file":
"${workspaceFolder}/dataEditor-${omegaEditPort}.log",
"level": "info"
}
},
"dfdlDebugger": {
"logging": {
"file": "${workspaceFolder}/daffodil-debugger.log",
"level": "INFO"
}
}
},
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]