Created
January 26, 2021 20:09
-
-
Save xaviergmail/d844dc12daccdbaa390a1446933874ab to your computer and use it in GitHub Desktop.
VSCode node debug current file
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
// Create a folder called .vscode and save this file in there as launch.json | |
// It should look like this: project_directory/.vscode/launch.json | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "pwa-node", | |
"request": "launch", | |
"name": "Launch Current Opened File", | |
"skipFiles": ["<node_internals>/**"], | |
"program": "${file}" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment