forked from BoostIO/BoostNote-Legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
901f40a
commit 85b4eed
Showing
2 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: | ||
![how_to_toggle_devTools](https://cloud.githubusercontent.com/assets/11307908/24343585/162187e2-127c-11e7-9c01-23578db03ecf.png) | ||
|
||
The Developer Tools is like this: | ||
The `Developer Tools` will look like this: | ||
![Developer_Tools](https://cloud.githubusercontent.com/assets/11307908/24343545/eff9f3a6-127b-11e7-94cf-cb67bfda634a.png) | ||
|
||
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: | ||
|
||
![debugger](https://cloud.githubusercontent.com/assets/11307908/24343879/9459efea-127d-11e7-9943-f60bf7f66d4a.png) | ||
|
||
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) |