You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/12/02 20:24:20 UTC
[GitHub] [daffodil-vscode] Shanedell commented on a change in pull request #49: Launch Config Wizard
Shanedell commented on a change in pull request #49:
URL: https://github.com/apache/daffodil-vscode/pull/49#discussion_r761439065
##########
File path: src/adapter/activateDaffodilDebug.ts
##########
@@ -291,21 +286,29 @@ class DaffodilConfigurationProvider
): ProviderResult<DebugConfiguration> {
// if launch.json is missing or empty
if (!config.type && !config.request && !config.name) {
- const editor = vscode.window.activeTextEditor
- if (editor && editor.document.languageId === 'xml') {
- config.type = 'dfdl'
- config.name = 'Launch'
- config.request = 'launch'
- config.program = '${file}'
- config.data = '${command:AskForDataName}'
- config.stopOnEntry = true
- config.useExistingServer = false
- config.infosetOutput = {
- type: 'file',
- path: '${file}-infoset.xml',
- }
- config.debugServer = 4711
- }
+ config = getConfig('Launch', 'launch', 'dfdl')
+ // config.type = 'dfdl'
Review comment:
yes I completely forgot about it will remove it now
--
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-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org