attempt at getting debugging via vscode working
This commit is contained in:
parent
86eeab323d
commit
887cbaab0a
11
.vscode/launch.json
vendored
11
.vscode/launch.json
vendored
@ -7,14 +7,17 @@
|
||||
{
|
||||
"name": "Launch addon",
|
||||
"type": "firefox",
|
||||
"request": "attach",
|
||||
"request": "launch",
|
||||
"port":6000,
|
||||
// "reAttach": true,
|
||||
"reAttach": true,
|
||||
"addonType": "webExtension",
|
||||
"addonPath": "${workspaceFolder}"
|
||||
"addonPath": "${workspaceFolder}/dist",
|
||||
}
|
||||
],
|
||||
"firefox": {
|
||||
"executable": "/usr/bin/firefox-developer-edition"
|
||||
"executable": "/usr/bin/firefox-developer-edition",
|
||||
"firefoxArgs": [
|
||||
"--start-debugger-server"
|
||||
]
|
||||
}
|
||||
}
|
@ -9,6 +9,7 @@ const { version } = require('./package.json');
|
||||
|
||||
const config = {
|
||||
mode: process.env.NODE_ENV,
|
||||
devtool: "inline-source-map",
|
||||
context: __dirname + '/src',
|
||||
entry: {
|
||||
'ext/uw': './ext/uw.js',
|
||||
|
Loading…
Reference in New Issue
Block a user