Skip to content

Instantly share code, notes, and snippets.

@antonioiksi
Created December 12, 2018 11:23
Show Gist options
  • Save antonioiksi/af109fd42f18c74d1caaccecf3c038f6 to your computer and use it in GitHub Desktop.
Save antonioiksi/af109fd42f18c74d1caaccecf3c038f6 to your computer and use it in GitHub Desktop.
vscode nodaemon babel-node debug

Type into package.json

"scripts": {
    "start": "nodemon --delay 5 --inspect=0.0.0.0:9229 ./server.js --exec babel-node -e js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },

type into launch.json

{
            "type": "node",
            "request": "attach",
            "name": "Attach",
            "port": 9229
       }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment