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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
William O'Beirne edited this page Jun 25, 2018
·
1 revision
This page encompasses some of the useful tips and tricks we discover along the way that help with debugging.
Useful Extensions
If you're planning on debugging anything in the app, you'll have a much easier time with the React DevTools and Redux DevTools Chrome extensions. The former shows minified components, and the latter isn't enabled in production.
Electron Production Logging
If an issue is only reproducible in the production build of the Electron app, simply run it from the command line with the logging flag enabled. For example:
If something's not working and you're not sure what, be sure to flip on debug: true in shared/enclave/server/wallets/trezor.ts with the Trezor.js library. It'll spit out much more information.