dap_adapters: Add attachSimplePort to JS DAP schema (#31412)
taken from https://github.com/microsoft/vscode-js-debug/blob/main/OPTIONS.md?plain=1 Release Notes: - debugger: Added attachSimplePort to JavaScript DAP schema --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
8fb3199a84
commit
abe5d523e1
1 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,10 @@ impl DebugAdapter for JsDebugAdapter {
|
|||
"description": "Automatically stop program after launch",
|
||||
"default": false
|
||||
},
|
||||
"attachSimplePort": {
|
||||
"type": "number",
|
||||
"description": "If set, attaches to the process via the given port. This is generally no longer necessary for Node.js programs and loses the ability to debug child processes, but can be useful in more esoteric scenarios such as with Deno and Docker launches. If set to 0, a random port will be chosen and --inspect-brk added to the launch arguments automatically."
|
||||
},
|
||||
"runtimeExecutable": {
|
||||
"type": ["string", "null"],
|
||||
"description": "Runtime to use, an absolute path or the name of a runtime available on PATH",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue