Last active
August 27, 2017 16:47
-
-
Save jorgeas80/8396b035a6589cc82bb9588a220ffc57 to your computer and use it in GitHub Desktop.
launch.json file for debugging angular-cli applications 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
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch Chrome against localhost, with sourcemaps", | |
| "type": "chrome", | |
| "request": "launch", | |
| "url": "http://localhost:4200", | |
| "sourceMaps": true, | |
| "webRoot": "${workspaceRoot}", | |
| "sourceMapPathOverrides": { | |
| "webpack:///*": "/*" | |
| } | |
| //"userDataDir": "${workspaceRoot}/out/chrome" | |
| }, | |
| { | |
| "name": "Attach to Chrome, with sourcemaps", | |
| "type": "chrome", | |
| "request": "attach", | |
| "port": 9222, | |
| "sourceMaps": true, | |
| "webRoot": "${workspaceRoot}", | |
| "url": "http://localhost:4200", | |
| "sourceMapPathOverrides": { | |
| "webpack:///*": "/*" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment