mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Changed wording in build.md and debug.md
I've adjusted the wording in the build and debug files to flow better and make more sense in English.
This commit is contained in:
@@ -1,20 +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.
|
||||
# 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.
|
||||
|
||||
This is how to toggle Developer Tools:
|
||||
You can toggle the `Developer Tools` like this:
|
||||

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

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

|
||||
|
||||
But this is only an example. You need to find a way to debug which fits with you.
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user