-
Notifications
You must be signed in to change notification settings - Fork 4
Debugging
Tympanix edited this page Jan 22, 2017
·
2 revisions
If something isn't right you can turn on debugging to print out errors and other messages into stderr
and stdout
. The module uses the debug package from npm to achieve this.
To turn on debugging set the following variable in you environment before executing the application
DEBUG=electron-regedit
. Then execute you application in cmd and watch the output.
For squirrel applications turn on debugging as described above and execute you application with the following arguments
-
--squirrel-install
to test installation -
--squirrel-update
to test updating -
--squirrel-uninstall
to test uninstallation -
--squirrel-obsolete
to test out phasing (opposite of updating)
If you manually want to find the installed keys in the registry you can do so by inspecting the following keys:
HKEY_CURRENT_USER\Software\Classes\MyApplication
HKEY_CURRENT_USER\Software\Classes\.ext
In the above MyApplication is the name of your ProgId
and ext is your associated file extension