Prerequisites to start debugging Django applications in Visual studio code-
- Basic knowledge of visual studio or any other IDE
- Basic knowledge of Django
Steps to debug the Django web application-
- Download visual studio code from here
- Create a django project if there is no project created.. Reference documenation here
- Open the visual studio code application
- Open a django project from folder
- Open window Debug, set Django as the environment and click play button or press function f5 to start debug
Put breakpoint at any position to start debugging the code