1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
Files
Boostnote/docs/ru/debug.md
Kazu Yokomizo 2e30db05bc Add credit
2017-06-22 23:38:05 +09:00

26 lines
1.5 KiB
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 (приложение Electron)
Boostnote - это программа, сделанная с помощью Electron, поэтому она базируется на Chromium. Разработчики могут использовать `Developer Tools` в Google Chrome для отладки.
Вы можете переключиться в `Developer Tools` следующим образом:
![how_to_toggle_devTools](https://cloud.githubusercontent.com/assets/11307908/24343585/162187e2-127c-11e7-9c01-23578db03ecf.png)
`Developer Tools` будет выглядеть следующим образом:
![Developer_Tools](https://cloud.githubusercontent.com/assets/11307908/24343545/eff9f3a6-127b-11e7-94cf-cb67bfda634a.png)
Возможные ошибки отображаются во вкладке `console`.
## Отладка
Например, вы можете использовать `debugger`, чтобы установить точку остановы следующим образом:
![debugger](https://cloud.githubusercontent.com/assets/11307908/24343879/9459efea-127d-11e7-9943-f60bf7f66d4a.png)
Это всего лишь пример. Вы можете использовать любой свой способ отладки. Тот, который вам будет удобен.
## Рекомендации
* [Официальная документация Google Chrome об отладке](https://developer.chrome.com/devtools)
---
Special thanks:
Translated by @AlexanderBelkevich