Support stopOnEntry and launchInTerminal in launch.json - #177
Conversation
Jinbo Wang (testforstephen)
commented
Nov 27, 2017
- Add stopOnEntry in launch.json
- Add console for lauchInTerminal feature in launch.json
Signed-off-by: Jinbo Wang <[email protected]>
Signed-off-by: Jinbo Wang <[email protected]>
| - `cwd` - The working directory of the program. | ||
| - `env` - The extra environment variables for the program. | ||
| - `stopOnEntry` - Automatically stop program after launch. | ||
| - `console` - Where to launch the program. Defaults to `internalConsole`. |
There was a problem hiding this comment.
Is this term console provide by VSCode? Normally, in this case, it will call as shell?
There was a problem hiding this comment.
reference to vscode-node-debug implemented by vscode team, they used the term console.
There was a problem hiding this comment.
The specified console to launch the program. Defaults to ...
| "enumDescriptions": [ | ||
| "VS Code Debug Console (which doesn't support to read input from a program)", | ||
| "VS Code's integrated terminal", | ||
| "external terminal that can be configured via user settings" |
| "externalTerminal" | ||
| ], | ||
| "enumDescriptions": [ | ||
| "VS Code Debug Console (which doesn't support to read input from a program)", |
There was a problem hiding this comment.
support doing
…jinbo_launchInTerminal
| - `cwd` - The working directory of the program. | ||
| - `env` - The extra environment variables for the program. | ||
| - `stopOnEntry` - Automatically stop program after launch. | ||
| - `console` - Where to launch the program. Defaults to `internalConsole`. |
There was a problem hiding this comment.
The specified console to launch the program. Defaults to ...
| - `stopOnEntry` - Automatically stop program after launch. | ||
| - `console` - Where to launch the program. Defaults to `internalConsole`. | ||
| - `internalConsole` - VS Code Debug Console (which doesn't support reading input from a program) | ||
| - `integratedTerminal` - VS Code's integrated terminal |
There was a problem hiding this comment.
VS Code integrated terminal.
| - `env` - The extra environment variables for the program. | ||
| - `stopOnEntry` - Automatically stop program after launch. | ||
| - `console` - Where to launch the program. Defaults to `internalConsole`. | ||
| - `internalConsole` - VS Code Debug Console (which doesn't support reading input from a program) |
There was a problem hiding this comment.
VS Code debug console (input stream not supported).
| - `console` - Where to launch the program. Defaults to `internalConsole`. | ||
| - `internalConsole` - VS Code Debug Console (which doesn't support reading input from a program) | ||
| - `integratedTerminal` - VS Code's integrated terminal | ||
| - `externalTerminal` - External terminal that can be configured via user settings |
| }, | ||
| "stopOnEntry": { | ||
| "type": "boolean", | ||
| "description": "Automatically stop program after launch.", |
There was a problem hiding this comment.
Automatically pause the program after launching.
| "type": "string", | ||
| "enum": [ | ||
| "internalConsole", | ||
| "integratedTerminal", |
| "externalTerminal" | ||
| ], | ||
| "enumDescriptions": [ | ||
| "VS Code Debug Console (which doesn't support reading input from a program)", |
There was a problem hiding this comment.
Please change accordingly.