Monday, March 13, 2017

Debugging Django applications using visual studio code

Visual studio code is the open source IDE from Microsoft which supports so many languages(C#,python, PHP)
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-

  1. Download visual studio code from here
  2. Create a django project if there is no project created.. Reference documenation here
  3. Open the visual studio code application
  4. Open a django project from folder
  5. 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

No comments:

Post a Comment