Forked from cdimascio/Node 8 Mocha with Babel VSCode
Created
January 31, 2018 12:38
-
-
Save frank-dspeed/d3d0916ab86fda31847a91cfc10312d8 to your computer and use it in GitHub Desktop.
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
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Mocha Tests", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"protocol": "inspector", | |
"args": [ | |
"-u", | |
"tdd", | |
"--timeout", | |
"999999", | |
"--recursive", | |
"--compilers", | |
"js:babel-register", | |
"--colors", | |
"${workspaceRoot}/test/tests" | |
], | |
"internalConsoleOptions": "openOnSessionStart" | |
}, |
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
{ | |
"name": "Attach to Process", | |
"type": "node", | |
"request": "attach", | |
"port": 9229, | |
"restart": true, | |
"outFiles": ["${workspaceRoot}/build/*.js"], | |
"sourceMaps": true, | |
"smartStep": true, | |
"sourceMapPathOverrides": { | |
"webpack:///./*": "${workspaceRoot}/*" | |
}, | |
"protocol": "inspector" | |
}, |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Attach to Port", | |
"port": 5858, | |
"restart": true, | |
"sourceMaps": true, | |
"sourceMapPathOverrides": { | |
"webpack:///*": "/*" | |
} | |
} | |
} |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Attach to Process", | |
"type": "node2", | |
"request": "attach", | |
"port": 9229, | |
"restart": true, | |
"outFiles": ["${workspaceRoot}/build/*.js"], | |
"sourceMaps": true, | |
"smartStep": true, | |
"sourceMapPathOverrides": { | |
"webpack:///./*": "${workspaceRoot}/*" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment