Skip to content

Support stopOnEntry and launchInTerminal in launch.json - #177

Merged
Rome Li (akaroml) merged 5 commits into
masterfrom
jinbo_launchInTerminal
Nov 29, 2017
Merged

Rome Li (akaroml) merged 5 commits into
masterfrom
jinbo_launchInTerminal

Conversation

@testforstephen

Copy link
Copy Markdown
Contributor
  1. Add stopOnEntry in launch.json
  2. Add console for lauchInTerminal feature in launch.json

Comment thread README.md Outdated
- `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`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this term console provide by VSCode? Normally, in this case, it will call as shell?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reference to vscode-node-debug implemented by vscode team, they used the term console.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The specified console to launch the program. Defaults to ...

Comment thread package.json Outdated
"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"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

External

Comment thread package.json Outdated
"externalTerminal"
],
"enumDescriptions": [
"VS Code Debug Console (which doesn't support to read input from a program)",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

support doing

Comment thread README.md Outdated
- `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`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The specified console to launch the program. Defaults to ...

Comment thread README.md Outdated
- `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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VS Code integrated terminal.

Comment thread README.md Outdated
- `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)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VS Code debug console (input stream not supported).

Comment thread README.md Outdated
- `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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

via -> in

Comment thread package.json Outdated
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop program after launch.",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically pause the program after launching.

Comment thread package.json Outdated
"type": "string",
"enum": [
"internalConsole",
"integratedTerminal",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mind the indention.

Comment thread package.json Outdated
"externalTerminal"
],
"enumDescriptions": [
"VS Code Debug Console (which doesn't support reading input from a program)",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change accordingly.

@akaroml
Rome Li (akaroml) merged commit d77e395 into master Nov 29, 2017
@testforstephen
Jinbo Wang (testforstephen) deleted the jinbo_launchInTerminal branch September 7, 2021 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants