![]() Install the Python extension for VS Code if you haven't already. Debug Jupyter Notebook code in Visual Studio Code: Currently, to debug a Jupyter Notebook you will need to first export it as a Python file. For a graphical depiction of async code's execution, Visual Studio has the Parallel Stacks window for threads and tasks. Debugging Python FastAPI apps in Docker containers with Visual Studio Code 7 minute read tl dr: a modern IDE like Visual Studio Code can ease development and debugging of a dockerized application like the one I described before.The process is broken down in steps, but some basic level of familiarity with that project, working knowledge of Docker and debugging in Python is assumed. General VS Code debugging information is found in the debugging document. Then in VS Code open the "Run" view again and make sure the Run Django configuration that we previously created is selected. ![]() ![]() Figure 2 - Debug Python Scripts in VS Code Selecting the Run icon from the left pane and click on Run and Debug Pressing F5 on the keyboard I would like to go with the second option and hit Run and Debug.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |