mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Add docs/debug.md
This commit is contained in:
20
docs/debug.md
Normal file
20
docs/debug.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# How to debug Boostnote (electron app)
|
||||||
|
The electron that makes Boostnote is made from Chromium, developers can use `Developer Tools` as same as Google Chrome.
|
||||||
|
|
||||||
|
This is how to toggle Developer Tools:
|
||||||
|

|
||||||
|
|
||||||
|
The Developer Tools is like this:
|
||||||
|

|
||||||
|
|
||||||
|
When errors occur, the error messages are displayed at the `console`.
|
||||||
|
|
||||||
|
## Debugging
|
||||||
|
I assume to put `debugger` as a breakpoint into the code is a good way to debug like this:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
But this is only an example. You need to find a way to debug which fits with you.
|
||||||
|
|
||||||
|
## References
|
||||||
|
* [Official document of Google Chrome about debugging](https://developer.chrome.com/devtools)
|
||||||
Reference in New Issue
Block a user