Last active
September 21, 2018 19:26
-
-
Save js62789/003e77145a18b128453220dda62fd39b to your computer and use it in GitHub Desktop.
A set of VSCode configurations that allow for easy client-side debugging of React
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", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}/src", | |
"preLaunchTask": "start", | |
"sourceMapPathOverrides": { | |
"webpack:///src/*": "${webRoot}/*", | |
} | |
} | |
] | |
} |
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": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "start", | |
"type": "npm", | |
"script": "start", | |
"isBackground": true, | |
"problemMatcher": { | |
"owner": "custom", | |
"pattern": { | |
"regexp": "^$" | |
}, | |
"background": { | |
"activeOnStart": true, | |
"beginsPattern": "Starting the development server...", | |
"endsPattern": "Compiled .*" | |
} | |
}, | |
"identifier": "Start Server" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment