mess around with launch.json, still didnt get debugger to work, decided i dont care

This commit is contained in:
Tamius Han 2023-07-10 22:05:37 +02:00
parent 48f7e1f39c
commit 94469ccd0e

18
.vscode/launch.json vendored
View File

@ -4,10 +4,19 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"urlFilter": "http://*/*",
"webRoot": "${workspaceFolder}"
},
{ {
"type": "firefox", "type": "firefox",
"request": "attach", "request": "attach",
"name": "Attach", "name": "Attach (firefox)",
"pathMappings": [ "pathMappings": [
{ {
"url": "webpack:///ext", "url": "webpack:///ext",
@ -16,7 +25,7 @@
] ]
}, },
{ {
"name": "Launch addon", "name": "Launch addon (firefox)",
"type": "firefox", "type": "firefox",
"request": "launch", "request": "launch",
"port": 6000, "port": 6000,
@ -36,5 +45,8 @@
"firefoxArgs": [ "firefoxArgs": [
"--start-debugger-server" "--start-debugger-server"
] ]
},
"chrome": {
"executable": "/usr/bin/google-chrome-stable --remote-debugging-port=9222",
} }
} }