Skip to content
Permalink
Browse files

Add debug instructions to CONTRIBUTING.md

Since it was not clear to me initially how to debug the various parts of the application.
  • Loading branch information...
matt1 committed Aug 5, 2018
1 parent e86a1de commit 409cbc9f5531e604b3e10de7a3fa94e3221b8707
Showing with 8 additions and 0 deletions.
  1. +8 −0 CONTRIBUTING.md
@@ -53,6 +53,14 @@ This invokes [the mad king](http://nerdist.com/wp-content/uploads/2016/05/the-ma

If you're doing development, `npm run watch` to have assets build automatically.

### Debugging

To debug the background process start electron with the `--inspect` argument pointing to the `app` directory, e.g. `node_modules/.bin/electron --inspect app`. You can then attach an external debugger (e.g. Chrome devtools).

To debug the shell window itself (i.e. the beaker browser chrome), press `CmdOrCtrl+alt+shift+I` to open the devtools.

To debug a built-in pages (e.g. the Settings or Library pages), press `CmdOrCtrl+shift+I` to open the devtools.

## Running the tests

Tests use their own package.json:

0 comments on commit 409cbc9

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.