You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a Django Project if you already have one or you can also create one following the steps in the Django Tutorial.
Head over to the Run And Debug tab, and click on create a launch.json file.
A window will open with a list of options, choose Python Debugger > Django.
Verification
Valid django file
Verifies that your manage.py file was found correctly and is displayed in the list.
When you hover the item, verify that there is a button to open the file and that it works correctly.
Select this option and verify that a launch.json configuration is created with the choose option.
Invalid django file (you can delete or change the name of the file)
Since no file was found, verify that a Default option is displayed.
Select this option and verify that a launch.json configuration is created with the choose option.
Browse a file
Click on the option Browse Files... and select the file that you want.
Verify that a launch.json configuration is created with the choose option, and that the path has been parsed correctly.
Add own value
You can also include your own text, type a path in the input box and press enter.
Verify that a launch.json configuration is created with the choose option.
Notes
Django's application detection works by looking for the manage.py/app.py file in the root or in a subdirectory just one level lower. So you can try moving the manage.py file one level lower and check that it still appears.
The text was updated successfully, but these errors were encountered:
Refs: #161
Complexity: 3
Create Issue
Automatically detect a Django file, and show it.
Steps
Verification
manage.py
file was found correctly and is displayed in the list.Browse Files...
and select the file that you want.Notes
Django's application detection works by looking for the
manage.py
/app.py
file in the root or in a subdirectory just one level lower. So you can try moving the manage.py file one level lower and check that it still appears.The text was updated successfully, but these errors were encountered: