Skip to content

Instantly share code, notes, and snippets.

@crafter999
Created October 17, 2019 13:41
Show Gist options
  • Select an option

  • Save crafter999/20cd6c218892d4e33e173bb6af79920c to your computer and use it in GitHub Desktop.

Select an option

Save crafter999/20cd6c218892d4e33e173bb6af79920c to your computer and use it in GitHub Desktop.

Revisions

  1. crafter999 created this gist Oct 17, 2019.
    15 changes: 15 additions & 0 deletions launch.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    {
    "version": "0.2.0",
    "configurations": [
    {
    "type": "node",
    "request": "launch",
    "name": "Debug Node.js",
    "program": "${workspaceFolder}/main.ts", // <--- typescript debug file
    "outFiles": ["${workspaceFolder}/dist/**/*.js"], // <--- dist js files
    "sourceMaps": true,
    "port":9229,
    "runtimeArgs": ["--inspect-brk=9229"],
    }
    ]
    }