mirror of https://github.com/tiangolo/fastapi.git
📝 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:
parent
8ab916baed
commit
9d54215a3a
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue