node debug is broken for che-theia:next
See original GitHub issueDescribe the bug
The debug session type “node” is not supported.
Che version
- latest
- nightly
- other: please specify
Steps to reproduce
- Create new application with node from stack ‘NodeJS Express Web Application’
- Run application with enabled debugger: task with name
run the web app (debugging enabled)
- Open debug panel select ‘Attach to remote’ debug config and click on run button:
Actual result: an error: The debug session type “node” is not supported.
Expected behavior
Debugger should attach to the application using remote debug protocol. I assume that for che-theia:7.9.1 debugger forks fine, but for che-theia:next it doesn’t work.
Runtime
- kubernetes (include output of
kubectl version
) - Openshift (include output of
oc version
) - minikube (include output of
minikube version
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - docker-desktop + K8S (include output of
docker version
andkubectl version
) - other: (please specify)
Screenshots
Installation method
- chectl
- che-operator
- minishift-addon
- I don’t know
Environment
- my computer
- Windows
- Linux
- macOS
- Cloud
- Amazon
- Azure
- GCE
- other (please specify)
- other: please specify
Eclipse Che Logs
Additional context
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Can't get node-debug to work - Stack Overflow
Now I have a lovely browser window open showing me my code with breakpoints... and no idea which url to use to actually...
Read more >Debug Node.js Apps using Visual Studio Code
The Visual Studio Code editor includes Node.js debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Running and debugging Node.js | PyCharm Documentation
PyCharm helps you run and debug your Node.js applications. You can debug applications that are started from PyCharm as well as attach to ......
Read more >Debugger | Node.js v19.3.0 Documentation
Node.js includes a command-line debugging utility. The Node.js debugger client is not a full-featured debugger, but simple stepping and inspection are ...
Read more >Debugging in WebStorm broke after new update (#WS ...
Recreated, logged as WEB-37804. Please follow this ticket for updates. As a workaround, please try disabling js.debugger.use.node.options ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would say there are two options:
node2
(it is needed to check)[1] https://marketplace.visualstudio.com/items?itemName=ms-vscode.node-debug [2] https://github.com/eclipse/che-plugin-registry/blob/master/v3/plugins/ms-vscode/node-debug2/1.33.0/meta.yaml
This has been fixed with #16728.