mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
23 lines
1.5 KiB
Markdown
23 lines
1.5 KiB
Markdown
# How to debug Boostnote (Electron app)
|
|
This page is also available in [Japanese](https://github.com/BoostIO/Boostnote/blob/master/docs/jp/debug.md), [Korean](https://github.com/BoostIO/Boostnote/blob/master/docs/ko/debug.md), [Russain](https://github.com/BoostIO/Boostnote/blob/master/docs/ru/debug.md), [Simplified Chinese](https://github.com/BoostIO/Boostnote/blob/master/docs/zh_CN/debug.md), [French](https://github.com/BoostIO/Boostnote/blob/master/docs/fr/debug.md) and [German](https://github.com/BoostIO/Boostnote/blob/add-german-documents/docs/de/debug.md).
|
|
|
|
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)
|