Created
August 24, 2016 07:20
-
-
Save katallaxie/214554751d5de98a7657ad0b248a7b20 to your computer and use it in GitHub Desktop.
Visual Studio Chrome Debug on OSX
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
# Open Chrome with Remote Debugging | |
open -a /Applications/Google\ Chrome.app --args --disable-web-security --remote-debugging-port=9222 http://localhost:9222 --user-data-dir |
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:3000", | |
"sourceMaps": true, | |
"webRoot": "${workspaceRoot}" | |
}, | |
{ | |
"name": "Attach to Chrome, with sourcemaps", | |
"type": "chrome", | |
"request": "attach", | |
"url": "http://localhost:3000", | |
"port": 9222, | |
"sourceMaps": true, | |
"webRoot": "${workspaceRoot}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment