Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should it debug Workers (Node worker_threads)? #859

Closed
matthiasg opened this issue Nov 18, 2020 · 1 comment
Closed

Should it debug Workers (Node worker_threads)? #859

matthiasg opened this issue Nov 18, 2020 · 1 comment
Labels

Comments

@matthiasg
Copy link

I am using const { Worker } = require('worker_threads') in node 14/15 and cannot seem to get any debugging to work in vs code (1.51.1). I tried the standard debugger, starting via "Debug: Debug NPM Script", and the Javascript Debugger Nightly v2020.11.1117.

Whatever I do I can debug the main process all the way to the postMessage call, not more. I do not see any threads in the debugger and cannot step into the other thread either.

@matthiasg matthiasg changed the title Should it debug Workers ? Should it debug Workers (Node worker_threads)? Nov 18, 2020
@connor4312
Copy link
Member

Node.js sadly does not support debugging worker_threads. Feel free to subscribe to / add your 👍 to nodejs/node#26609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants