Created
April 15, 2019 20:56
-
-
Save seacloud9/c4d95e1ee3baa8ae946741e1db7ad8b2 to your computer and use it in GitHub Desktop.
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