vscodium
vscodium copied to clipboard
Activating extension 'msjsdiag.debugger-for-chrome' failed
Describe the bug
Debugger for Chrome
extension cannott be activated after installation.
Please confirm that this problem is VSCodium-specific
- [ ] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.
Please confirm that the issue/resolution isn't already documented
- [ ] I checked the Docs page and my issue is not mentioned there.
To Reproduce Steps to reproduce the behavior:
- Install
Debugger for Chrome
into VSCodion viaEXTENSIONS
tab. - Load your JS\TS project into VSCodion, build it, open in Chrome.
- Create proper
launch.json
config to attach to Chrome. - Try to attach to Chrome via VSCodion's
RUN AND DEBUG
tab using the above created config. - It doesn't attach. In VSCodiom Developer Tools, it throws an error:
Activating extension 'msjsdiag.debugger-for-chrome' failed: Cannot find module '/home/x/.vscode-oss/extensions/msjsdiag.debugger-for-chrome-4.12.6/out/src/extension' Require stack:
- /usr/share/codium/resources/app/out/vs/loader.js
- /usr/share/codium/resources/app/out/bootstrap-amd.js
- /usr/share/codium/resources/app/out/bootstrap-fork.js. _logMessageInConsole @ workbench.desktop.main.js:1857 _logOrShowMessage @ workbench.desktop.main.js:1857 $onExtensionActivationError @ workbench.desktop.main.js:2084 _doInvokeHandler @ workbench.desktop.main.js:1687 _invokeHandler @ workbench.desktop.main.js:1687 _receiveRequest @ workbench.desktop.main.js:1687 _receiveOneMessage @ workbench.desktop.main.js:1687 (anonymous) @ workbench.desktop.main.js:1687 fire @ workbench.desktop.main.js:57 fire @ workbench.desktop.main.js:76 _receiveMessage @ workbench.desktop.main.js:76 (anonymous) @ workbench.desktop.main.js:76 fire @ workbench.desktop.main.js:57 acceptChunk @ workbench.desktop.main.js:76 (anonymous) @ workbench.desktop.main.js:76 I @ workbench.desktop.main.js:2760 emit @ events.js:315 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:271 Readable.push @ _stream_readable.js:212 onStreamRead @ internal/stream_base_commons.js:186
Expected behavior
Debugger for Chrome
attaches to Chrome and works just like in VS Code.
Desktop (please complete the following information):
- OS: Debian 10
- Architecture arm64
- Version 1.54.3
Additional context
I tried to uninstall the Debugger for Chrome
extension. The /home/x/.vscode-oss/extensions/msjsdiag.debugger-for-chrome-4.12.6/
folder was not removed. I removed it manually and re-installed the extension. It has not helped - the same error when attaching to Chrome.
Just tested on Windows 10 x64 - exactly the same thing:
A sample would be useful.
But the extension is faulty on Open VSX, there is no out
folder.
But that folder is in the extension on Visual Studio Marketplace...
A sample would be useful.
- Could you elaborate, please - sample of what?
But the extension is faulty on Open VSX, there is no
out
folder.
- Does Open VSX have a separate issue tracker, so I could notify them as well?
But that folder is in the extension on Visual Studio Marketplace...
- Di you mean the best way to work it around is to isntall it via
EXTENSIONS
->install from VSIX
and get that VSIX from Visual Studio Marketplace?
- A project so we can easily test the issue
- Maybe on their gitter: https://gitter.im/eclipse/openvsx
- Yes
You can reproduce it without any project.
launch.json
could be created automatically.
Just try to attach to Chrome.
The initial version was contributed to open-vsx.org via open-vsx/publish-extensions, that's a script that publishes a list of selected extensions every night. The extension was removed from the list because the namespace has been claimed, but we can add it back since the namespace owner apparently is not going to publish anything.
Could you create an issue at that repository? Also feel free to provide a PR to add the extension to the JSON list. If you do so, please have a close look whether special build steps are necessary in order to get a working extension package.
@spoenemann thank you, done.
@AbakumovAlexandr as this extension is now deprecated in favor of the built-in functionality [1], is this issue still relevant?