Created
April 15, 2019 20:56
Star
You must be signed in to star a gist
launch.json -> vs code ssr debugging babel 7
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
{ | |
// 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": "launch", | |
"name": "Debug", | |
"program": "${workspaceFolder}/server/server.js", | |
"cwd": "${workspaceFolder}", | |
"stopOnEntry": false, | |
"sourceMaps": false, | |
"smartStep": true, | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/babel-node", | |
"skipFiles":[ | |
"${workspaceFolder}/node_modules/**/*.js" | |
], | |
"runtimeArgs": ["--nolazy", "--debug", "--presets", "@babel/preset-env"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment