Last active
December 12, 2022 10:55
-
-
Save rafaelmaeuer/4804a40694f20765ac8bd4c4d71e9c7d to your computer and use it in GitHub Desktop.
https://stackoverflow.com/questions/66147328/is-there-a-way-to-debug-code-in-vscode-initiated-with-vite/69338180#69338180
https://stackoverflow.com/questions/53380075/how-to-attach-the-vscode-debugger-to-the-brave-browser/60130963#60130963
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
// launch.json for Chrome | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Debug with Chrome", | |
"url": "http://localhost:4000", | |
"webRoot": "${workspaceFolder}/app" | |
} | |
] | |
} | |
// launch.json for Brave | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Debug with Brave", | |
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser", | |
"userDataDir": true, | |
"url": "http://localhost:8080", | |
"webRoot": "${workspaceFolder}" | |
} | |
] | |
} | |
//launch.json for Firefox | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "firefox", | |
"request": "launch", | |
"name": "Debug with Firefox", | |
"url": "http://localhost:8080", | |
"webRoot": "${workspaceFolder}/src", | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment