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 +}