Visual Studio Node: debug into Worker Threads (node 11)
问题 Can VS Code's Javascript debugger be made to debug node 11's new "Worker Threads"? Worker threads are modelled after web workers with a small number of extra capabilities on top and are available from the new worker_threads package (see https://nodejs.org/api/worker_threads.html). Other than with node's sub processes, one can share memory with worker threads in the form of SharedArrayBuffers. My VS Code launch configuration looks like that: { "type": "node", "request": "launch", "name":