1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 18:26:26 +00:00
Files
Boostnote/docs/zh_CN/debug.md
2017-08-28 19:46:36 +08:00

16 lines
920 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 在Boostnote上Debug
Boostnote基于Electron所以Boostnote上的开发者工具和Google Chrome相同。
您可以像这样或者按下快捷键`Ctrl+Shift+I`打开开发者工具:
![how_to_toggle_devTools](https://cloud.githubusercontent.com/assets/11307908/24343585/162187e2-127c-11e7-9c01-23578db03ecf.png)
开发者工具大概形如这样:
![Developer_Tools](https://cloud.githubusercontent.com/assets/11307908/24343545/eff9f3a6-127b-11e7-94cf-cb67bfda634a.png)
您可以在`console`选项卡中找到运行错误,
也可以像这样在`debugger`选项卡中设置断点去分步Debug
![debugger](https://cloud.githubusercontent.com/assets/11307908/24343879/9459efea-127d-11e7-9943-f60bf7f66d4a.png)
关于具体如何使用开发者工具,详见[Chrome 官档](https://developer.chrome.com/devtools)。如果您在中国大陆您可能需要一个VPN才能正常访问