📝 Add example of Pycharm in tutorial/debugging.md (#1096)

* add example of pycharm in tutorial/debugging.md

* 📝 Update PyCharm debug instructions and screenshot

* 🚚 Move image to new location in docs

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
YangQuan 2020-03-30 00:50:29 +08:00 committed by GitHub
parent 8ab916baed
commit 9d54215a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -95,3 +95,18 @@ It will then start the server with your **FastAPI** code, stop at your breakpoin
Here's how it might look:
<img src="/img/tutorial/debugging/image01.png">
---
If you use Pycharm, you can:
* Open the "Run" menu.
* Select the option "Debug...".
* Then a context menu shows up.
* Select the file to debug (in this case, `main.py`).
It will then start the server with your **FastAPI** code, stop at your breakpoints, etc.
Here's how it might look:
<img src="/img/tutorial/debugging/image02.png">