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",
|
"name": "Launch addon",
|
||||||
"type": "firefox",
|
"type": "firefox",
|
||||||
"request": "attach",
|
"request": "launch",
|
||||||
"port":6000,
|
"port":6000,
|
||||||
// "reAttach": true,
|
"reAttach": true,
|
||||||
"addonType": "webExtension",
|
"addonType": "webExtension",
|
||||||
"addonPath": "${workspaceFolder}"
|
"addonPath": "${workspaceFolder}/dist",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"firefox": {
|
"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 = {
|
const config = {
|
||||||
mode: process.env.NODE_ENV,
|
mode: process.env.NODE_ENV,
|
||||||
|
devtool: "inline-source-map",
|
||||||
context: __dirname + '/src',
|
context: __dirname + '/src',
|
||||||
entry: {
|
entry: {
|
||||||
'ext/uw': './ext/uw.js',
|
'ext/uw': './ext/uw.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user