Skip to content

Commit

Permalink
add tracing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Dec 13, 2024
1 parent 81f1f3f commit 4ac1ad9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build:shell": "yarn --cwd ./packages/shell build",
"start": "yarn build:context-menu && yarn build:extensions && yarn --cwd ./packages/shell start",
"start:debug": "cross-env SHELL_DEBUG=true DEBUG='electron-chrome-extensions*' yarn start",
"start:electron-dev": "cross-env ELECTRON_OVERRIDE_DIST_PATH=$(e show out --path) ELECTRON_ENABLE_LOGGING=1 DEBUG='electron-chrome-extensions*' yarn start",
"start:electron-dev": "cross-env ELECTRON_OVERRIDE_DIST_PATH=$(e show out --path) ELECTRON_ENABLE_LOGGING=1 yarn start",
"start:electron-dev:trace": "cross-env ELECTRON_OVERRIDE_DIST_PATH=$(e show out --path) ELECTRON_ENABLE_LOGGING=1 yarn --cwd ./packages/shell start:trace",
"start:skip-build": "cross-env SHELL_DEBUG=true DEBUG='electron-chrome-extensions*' yarn --cwd ./packages/shell start",
"test": "yarn test:extensions",
"test:extensions": "yarn --cwd ./packages/electron-chrome-extensions test",
Expand Down
1 change: 1 addition & 0 deletions packages/shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"build": "npm run package",
"start": "electron-forge start",
"start:trace": "electron-forge start -- --trace-startup=\"*\" --trace-startup-file=\"$HOME/Desktop/trace.json\"",
"package": "electron-forge package",
"make": "electron-forge make"
},
Expand Down

0 comments on commit 4ac1ad9

Please sign in to comment.