How to attach a debugger in Visual Studio Code for babel-node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/src/server.js", | |
"stopOnEntry": false, | |
"args": [], | |
"cwd": "${workspaceRoot}", | |
"preLaunchTask": null, | |
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/babel-node", | |
"runtimeArgs": [ | |
"tools/run", | |
"start" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"console": "internalConsole", | |
"sourceMaps": true, | |
"outFiles": [] | |
} | |
] | |
} |
Comments
Post a Comment
Feedback - positive or negative is welcome.