Skip to content

Should it debug Workers (Node worker_threads)? #859

Closed

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions