mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
I've adjusted the wording in the build and debug files to flow better and make more sense in English.
21 lines
988 B
Markdown
21 lines
988 B
Markdown
# How to debug Boostnote (Electron app)
|
|
Boostnote is an Electron app so it's based on Chromium; developers can use `Developer Tools` just like Google Chrome.
|
|
|
|
You can toggle the `Developer Tools` like this:
|
|

|
|
|
|
The `Developer Tools` will look like this:
|
|

|
|
|
|
When errors occur, the error messages are displayed at the `console`.
|
|
|
|
## Debugging
|
|
For example, you can use the `debugger` to set a breakpoint in the code like this:
|
|
|
|

|
|
|
|
This is just an illustrative example, you should find a way to debug which fits your style.
|
|
|
|
## References
|
|
* [Official document of Google Chrome about debugging](https://developer.chrome.com/devtools)
|