Python in Visual Studio Code
Github
Examples
Documentation
Python Path and Version
Autocomplete
Formatting
Linting
Debugging
Terminal (Console) Apps
Capture User Input
Library Functions
Google App Engine
Remote Debugging
nosetests
py.test
Flask
Sudo (root privileges)
Django
Unittests
Refactoring
Jupyter (IPython)
Miscellaneous
Contribution
Workspace Symbols
Troubleshooting
Roadmap
py.test
Create a file named
xyz.py
in the root directory
Add the following code
import
pytest pytest.main()
Add a break point in you test method (the test method you wish to debug)
Start debugging
Topics:
Python Path and Version
Autocomplete
Formatting
Linting
Debugging
-> Terminal (Console) Apps
-> Capture User Input
-> Library Functions
-> Google App Engine
-> Remote Debugging
-> nosetests
-> py.test
-> Flask
-> Sudo (root privileges)
-> Django
Unittests
-> More Options
-> unittest
-> py.test
-> nose
Refactoring
-> Rename
-> Extract Variables
-> Extract Method
-> Sort Imports
Jupyter (IPython)
-> Getting Started
-> Prerequisites
-> Configuration
-> Examples
Miscellaneous
Contribution
Workspace Symbols
Troubleshooting
-> Debugger
-> Virtual Env
-> Linting
-> Formatting
-> Autocomplete
-> Jupyter
Roadmap
py.test
Create a file named
xyz.py
in the root directory
Add the following code
import
pytest pytest.main()
Add a break point in you test method (the test method you wish to debug)
Start debugging