File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "version" : " 0.2.0" ,
33 "configurations" : [
4+ {
5+ "name" : " Attach" ,
6+ "port" : 9229 ,
7+ "request" : " attach" ,
8+ "skipFiles" : [
9+ " <node_internals>/**"
10+ ],
11+ "type" : " pwa-node"
12+ },
413 {
514 "name" : " Debug Main Process" ,
615 "type" : " node" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ tuxedo-control-center
7171| inc-version-major | Major version increase (updates package.json files) |
7272
7373### Debugging
74- Debugging of electron main and render process is configured for vscode in .vscode/launch.json
74+ Debugging of electron main and render process is configured for vscode in `.vscode/launch.json`.
75+ Note that the application must be rebuilt each time a change is made. Usually `npm run build-ng` is sufficient.
76+
77+ To debug the service, run `npm run debug-service` the launch the `Attach` target in `.vscode/launch.json`.
7578
7679## Screenshots
7780### English
Original file line number Diff line number Diff line change 2323 "build-service" : " tsc -p ./src/service-app && cp ./src/package.json ./dist/tuxedo-control-center/service-app/package.json && run-s bundle-service" ,
2424 "bundle-service" : " pkg --target node10-linux-x64 --output ./dist/tuxedo-control-center/data/service/tccd ./dist/tuxedo-control-center/service-app/package.json" ,
2525 "start-service" : " sudo NODE_PATH=\" ./dist/tuxedo-control-center/data/service:${NODE_PATH}\" node ./dist/tuxedo-control-center/service-app/service-app/main.js --start" ,
26+ "debug-service" : " sudo NODE_PATH=\" ./dist/tuxedo-control-center/data/service:${NODE_PATH}\" node --inspect-brk ./dist/tuxedo-control-center/service-app/service-app/main.js --start" ,
2627 "build-native" : " node-gyp configure && node-gyp rebuild" ,
2728 "copy-files" : " run-s copy-package-json copy-dist-files copy-native" ,
2829 "copy-native" : " mkdir -p ./dist/tuxedo-control-center/service-app/native-lib && cp ./build/Release/TuxedoWMIAPI.node ./dist/tuxedo-control-center/data/service" ,
You can’t perform that action at this time.
0 commit comments