Created
August 22, 2022 03:35
-
-
Save sople1/50bf259558bc7c3772228b3f680feebf to your computer and use it in GitHub Desktop.
Visual Studio Code: Debug multiple web app with Chrome
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
| // .vscode/launch.json | |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "chrome", | |
| "request": "launch", | |
| "name": "Debug Multiple application - with Launch Chrome Debug", // free to change | |
| "urlFilter": "http://localhost:*", // for hooking | |
| "pathMapping": { | |
| "http://localhost:8000": "${workspaceFolder}/app0", | |
| "http://localhost:8001": "${workspaceFolder}/app1" | |
| }, | |
| "runtimeArgs": [ // set url for open site when chrome window is lanched | |
| "http://localhost:8000", | |
| "http://localhost:8001" | |
| ], | |
| "resolveSourceMapLocations": [ | |
| "${webRoot}/**", | |
| "${webRoot}/../../.output/**", | |
| "!**/node_modules/**" | |
| ], | |
| "sourceMapPathOverrides": { | |
| "webpack:///./~/*": "${webRoot}/node_modules/*", | |
| "webpack:////*": "/*", | |
| "webpack://@?:*/?:*/*": "${webRoot}/*", | |
| "webpack://?:*/*": "${webRoot}/*", | |
| "webpack:///([a-z]):/(.+)": "$1:/$2", | |
| "meteor://💻app/*": "${webRoot}/*" | |
| } | |
| }, | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment