53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// 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 (firefox)",
|
|
"pathMappings": [
|
|
{
|
|
"url": "webpack:///ext",
|
|
"path": "${workspaceFolder}/src/ext"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch addon (firefox)",
|
|
"type": "firefox",
|
|
"request": "launch",
|
|
"port": 6000,
|
|
"reAttach": true,
|
|
"addonType": "webExtension",
|
|
"addonPath": "${workspaceFolder}/dist-ff",
|
|
"pathMappings": [
|
|
{
|
|
"url": "webpack:///ext",
|
|
"path": "${workspaceFolder}/src/ext"
|
|
},
|
|
]
|
|
}
|
|
],
|
|
"firefox": {
|
|
"executable": "/usr/bin/firefox-developer-edition",
|
|
"firefoxArgs": [
|
|
"--start-debugger-server"
|
|
]
|
|
},
|
|
"chrome": {
|
|
"executable": "/usr/bin/google-chrome-stable --remote-debugging-port=9222",
|
|
}
|
|
}
|