Skip to content

Commit e373910

Browse files
committed
remove vscode-node-debug2
1 parent 2f5420f commit e373910

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
lines changed

README.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ runtime dependencies). They are categorised by their level of support:
179179
| Bourne Shell | Supported | `--all` or `--enable-bash` | vscode-bash-debug | Bash v?? |
180180
| Lua | Tested | `--all` or `--enable-lua` | local-lua-debugger-vscode | Node >=12.13.0, Npm, Lua interpreter |
181181
| Node.js | Supported | `--force-enable-node` | vscode-js-debug | Node >= 18 |
182-
| Node.js (legacy) | Supported | `--force-enable-node_legacy` | vscode-node-debug2 | 6 < Node < 12, Npm |
183182
| Javascript | Supported | `--force-enable-chrome` | debugger-for-chrome | Chrome |
184183
| Javascript | Supported | `--force-enable-firefox` | vscode-firefox-debug | Firefox |
185184
| Java | Supported | `--force-enable-java ` | vscode-java-debug | Compatible LSP plugin (see [later](#java)) |
@@ -2172,41 +2171,6 @@ multiple debug sessions. For a user, that shouldn't change anything (other than
21722171
perhaps a slightly confusing stack trace). But it does make things more
21732172
complicated and so there may be subtle bugs.
21742173

2175-
* Node.js (legacy)
2176-
2177-
**NOTE**: This configuration uses the *deprecated* legacy debug adapter and will
2178-
be removed in future. Please update your configurations to use the `js-debug`
2179-
adapter. You _may_ be able to just change the adapter name.
2180-
2181-
Requires:
2182-
2183-
* `install_gadget.py --force-enable-node`
2184-
* For installation, a Node.js environment that is < node 12. I believe this is an
2185-
incompatibility with gulp. Advice, use [nvm](https://github.com/nvm-sh/nvm) with `nvm install --lts 10; nvm
2186-
use --lts 10; ./install_gadget.py --force-enable-node ...`
2187-
* Options described here:
2188-
https://code.visualstudio.com/docs/nodejs/nodejs-debugging
2189-
* Example: `support/test/node/simple`
2190-
2191-
```json
2192-
{
2193-
"configurations": {
2194-
"run": {
2195-
"adapter": "vscode-node",
2196-
"filetypes": [ "javascript", "typescript" ], // optional
2197-
"configuration": {
2198-
"request": "launch",
2199-
"protocol": "auto",
2200-
"stopOnEntry": true,
2201-
"console": "integratedTerminal",
2202-
"program": "${workspaceRoot}/simple.js",
2203-
"cwd": "${workspaceRoot}"
2204-
}
2205-
}
2206-
}
2207-
}
2208-
```
2209-
22102174
* Chrome/Firefox
22112175

22122176
This uses the chrome/firefox debugger (they are very similar), see

python3/vimspector/gadgets.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -463,27 +463,6 @@
463463
},
464464
},
465465
},
466-
'vscode-node-debug2': {
467-
'language': 'node_legacy',
468-
'enabled': False,
469-
'repo': {
470-
'url': 'https://github.com/microsoft/vscode-node-debug2',
471-
'ref': 'v1.43.0'
472-
},
473-
'do': lambda name, root, gadget: installer.InstallNodeDebug( name,
474-
root,
475-
gadget ),
476-
'adapters': {
477-
'vscode-node': {
478-
'name': 'node2',
479-
'type': 'node2',
480-
'command': [
481-
'node',
482-
'${gadgetDir}/vscode-node-debug2/out/src/nodeDebug.js'
483-
]
484-
},
485-
},
486-
},
487466
'vscode-firefox-debug': {
488467
'language': 'firefox',
489468
'enabled': False,

0 commit comments

Comments
 (0)