Created
June 23, 2021 05:35
-
-
Save andrewmcodes/3c15367069b64b03a70f9643cdd3b785 to your computer and use it in GitHub Desktop.
vscode-launch-example
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Application", | |
"type": "chrome", | |
"preLaunchTask": "Start Dev", | |
"postDebugTask": "Terminate All Tasks", | |
"request": "launch", | |
"url": "http://localhost:8081", | |
"sourceMapPathOverrides":{ | |
"sources://src/*": "${workspaceFolder}/src/*" | |
}, | |
}, | |
{ | |
"name": "Debug Dev Build Process", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "npm", | |
"sourceMaps": true, | |
"console": "integratedTerminal", | |
"trace": "all", | |
"runtimeArgs": [ | |
"run-script", | |
"dev" | |
], | |
"port": 5858, | |
"serverReadyAction": { | |
"action": "debugWithChrome", | |
"pattern": "http:\/\/localhost:([0-9]+).*", | |
"uriFormat": "http://localhost:%s" | |
} | |
}, | |
{ | |
"name": "Debug Tests", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "npm", | |
"sourceMaps": true, | |
"console": "integratedTerminal", | |
"trace": "all", | |
"runtimeArgs": [ | |
"run-script", | |
"test" | |
], | |
"port": 5859 | |
}, | |
{ | |
"name": "Debug Build Process", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "npm", | |
"sourceMaps": true, | |
"console": "integratedTerminal", | |
"trace": "all", | |
"runtimeArgs": [ | |
"run-script", | |
"build" | |
], | |
"port": 5859 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment