vscode: Cannot debug extension (unknown request 'launchVSCode').
- VSCode Version: 1.30.2
- OS Version: MacOS 10.14.2
Steps to Reproduce:
- Create a new own extension.
- Debug the extension. Toast ‘Cannot debug extension (unknown request ‘launchVSCode’).’
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 33 (15 by maintainers)
hmm… It’s strange. I don’t use manually installed packages, only automatically installed. Here my extensions list:
If I try to launch my extension, I’ll get error(this issue), but if I use
node debug 1.31.2
, my extension will launch as expected.You should delete the extension from
~/.vscode/extensions/ms-vscode.node-debug2...
I’m confused, now I am not seeing it enabled for either.
this one is ok.
Faced the same issue, in my case I also had ms-vscode.node-debug2 version 1.31.3 Installing some previous version was not available, while 1.31.0 not listed install previous version when failed offered to download and install manually manual install failed due to dependencies from React Native Tools After removing this extension, I managed to install previous version of Node debug. After reload debug extensions finally started to work. And Node Debug extension disappeared from @installed but visible in @builtin as version 1.30.4
So, looks like an error because solving extensionDependencies for built-in extensions.
vscode-react-native
The error message indicates that you are using the node-debug version from the Insiders release which isn’t compatible with VS Code Stable 1.30.2.
What version of node-debug are you using? It should be 1.30.3:
@roblourens could you please set node-debugs’s vscode engine version to 1.31.0.
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like: