-
Notifications
You must be signed in to change notification settings - Fork 129
Conversation
@@ -77,14 +85,14 @@ | |||
"type": "node", | |||
"request": "launch", | |||
"name": "Generate Sandwich Form", | |||
"program": "${workspaceFolder}/bin/run", | |||
"preLaunchTask": "tsc: build - tsconfig.json", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this kind of thing it is definitely nice to be able to build before launching. What is the right pattern for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe ${defaultBuildTask}?
"program": "${workspaceFolder}/bin/run", | ||
"preLaunchTask": "tsc: build - tsconfig.json", | ||
"program": "${workspaceFolder}/packages/dialog/bin/run", | ||
"sourceMaps": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Find to be explicit, but isn't sourceMaps = true the default? For that matter, they don't even list it as an option in the docs. https://code.visualstudio.com/Docs/editor/debugging
@@ -57,4 +38,24 @@ export default class GenerateDialog extends Command { | |||
progress(msg: string): void { | |||
this.error(msg) | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is annoying especially given that style rules complain about doing this. I know you have a bug out for typescript, but maybe we should disable the rule? Or maybe I shouldn't have the tslint extension...
Goals
Fixes the dialog debugging experience and address sourcemap issues.
Changes