You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 1.22.2
Commit 3aeede7
Date 2018-04-13T19:17:59Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
- OS Version:
Linux solus 4.15.17-65.current #1 SMP PREEMPT Fri Apr 20 11:36:00 UTC 2018 x86_64 GNU/Linux
Steps to Reproduce:
Create a file with node code to debug. (example below).
Click on debug icon.
Click on the 'run' symbol to start debugging.
You will be asked to select environment, select Node.js.
Observe the error message.
Error message:
[ms-vscode.node-debug]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-vscode.node-debug
I tried running this command but still the issue isn't solved: code-oss . --enable-proposed-api ms-vscode.node-debug
Populated launch.json after accepting the error prompt:
{// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"type": "node","request": "launch","name": "Launch Program","program": "${workspaceFolder}/test.js"}]}
Does this issue occur when all extensions are disabled?: Yes/No
Yes code-oss . --disable-extensions
The text was updated successfully, but these errors were encountered:
Hello Rob,
This is the official VS Code application which I have downloaded it from the official repo for my Linux distribution "Solus". https://packages.solus-project.com/shannon/v/vscode/
I can use the VS Code CLI using the code-oss command, which is the one available by default after installation.
Thanks,
Faisal
Ok, it looks like an unofficial build, but it should be possible to make it work. I can't unpack that eopkg file, so can you look for the product.json file, which should be in the package at a path like Resources/app/product.json. It should have a section like
I found that file under /usr/share/vscode/resources/app/product.json and it didn't have the section you mentioned. I added that as sudo and the debugging worked as expected!
I don't know who runs that repo or builds the packages but it would be great if you can send them a message so they fix that up in their build. Thanks!
- VSCode Version:
Version 1.22.2
Commit 3aeede7
Date 2018-04-13T19:17:59Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
- OS Version:
Linux solus 4.15.17-65.current #1 SMP PREEMPT Fri Apr 20 11:36:00 UTC 2018 x86_64 GNU/Linux
Steps to Reproduce:
Error message:
[ms-vscode.node-debug]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api ms-vscode.node-debug
I tried running this command but still the issue isn't solved:
code-oss . --enable-proposed-api ms-vscode.node-debug
Code example:
Error message:
Populated launch.json after accepting the error prompt:
Does this issue occur when all extensions are disabled?: Yes/No
Yes
code-oss . --disable-extensions
The text was updated successfully, but these errors were encountered: