VSCode node debugger launch file

PHOTO EMBED

Wed Nov 11 2020 12:56:36 GMT+0000 (Coordinated Universal Time)

Saved by @Jota #json #nodejs #debug

{
  // 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": "attach",
      // "processId": "${command:PickProcess}",
      "protocol": "inspector",
      "restart": true,
      "name": "Launch Programa",
      "skipFiles": ["<node_internals>/**"]
    }
  ]
}
content_copyCOPY

It makes it possible for the debugger to attach to the Node.JS running application.