Created
February 22, 2018 00:25
-
-
Save damassi/754b62fefafba1746a131b7e093550d1 to your computer and use it in GitHub Desktop.
Debug random node script in VSCode
This file contains hidden or 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 Node.js debug 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 Build", | |
"program": "${workspaceFolder}/node_modules/.bin/babel", | |
"args": [ | |
"src", | |
"--ignore", | |
"src/**/__tests__", | |
"src/**/__stories__", | |
"--out-dir", | |
"dist", | |
"--extensions", | |
"'.ts,.tsx'" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen" | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment