From 94469ccd0e22e865b9767a3c4658e4fdf4259712 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 10 Jul 2023 22:05:37 +0200 Subject: [PATCH] mess around with launch.json, still didnt get debugger to work, decided i dont care --- .vscode/launch.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index bf89a80..deff3af 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,10 +4,19 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + + { + "type": "chrome", + "request": "attach", + "name": "Attach to Chrome", + "port": 9222, + "urlFilter": "http://*/*", + "webRoot": "${workspaceFolder}" + }, { "type": "firefox", "request": "attach", - "name": "Attach", + "name": "Attach (firefox)", "pathMappings": [ { "url": "webpack:///ext", @@ -16,7 +25,7 @@ ] }, { - "name": "Launch addon", + "name": "Launch addon (firefox)", "type": "firefox", "request": "launch", "port": 6000, @@ -36,5 +45,8 @@ "firefoxArgs": [ "--start-debugger-server" ] + }, + "chrome": { + "executable": "/usr/bin/google-chrome-stable --remote-debugging-port=9222", } -} \ No newline at end of file +}