Skip to content

Commit cd23e1b

Browse files
committed
chore: npm run electron automatically load source maps
1 parent 4ae2850 commit cd23e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/uhk-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"uhk-usb": "file:../uhk-usb"
3232
},
3333
"scripts": {
34-
"start": "cross-env DEBUG=kboot*,mcumgr* electron ./dist/electron-main.js",
34+
"start": "cross-env DEBUG=kboot*,mcumgr* NODE_OPTIONS=\"--enable-source-maps\" electron ./dist/electron-main.js",
3535
"electron:spe": "electron ./dist/electron-main.js --spe",
3636
"build": "webpack && npm run install:build-deps && npm run download-firmware && npm run copy-to-tmp-folder",
3737
"clean": "rimraf ./node_modules ./dist",

0 commit comments

Comments
 (0)