Skip to content

Commit 2914852

Browse files
Merge pull request #6139 from microsoft/paulacamargo25-update-language-page
Update python language docs
2 parents b580155 + 7b02cca commit 2914852

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/languages/python.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ The Python extension can apply a number of different linters including Pylint, p
7474

7575
## Debugging
7676

77-
No more `print` statement debugging! Set breakpoints, inspect data, and use the debug console as you run your program step by step. Debug a number of different types of Python applications, including multi-threaded, web, and remote applications.
77+
No more `print` statement debugging! VS Code comes with great debugging support for Python, allowing you to set breakpoints, inspect variables, and use the debug console for an in-depth look at how your program is executing step by step. Debug a number of different types of Python applications, including multi-threaded, web, and remote applications.
7878

79-
For Python-specific details, including setting up your `launch.json` configuration and remote debugging, see [Debugging](/docs/python/debugging.md). General VS Code debugging information is found in the [debugging document](/docs/editor/debugging.md). The [Django](/docs/python/tutorial-django.md) and [Flask](/docs/python/tutorial-flask.md) tutorials also demonstrate debugging in the context of those web apps, including debugging Django page templates.
79+
For more specific information on debugging in Python, such as configuring your `launch.json` settings and implementing remote debugging, see [Debugging](/docs/python/debugging.md). General VS Code debugging information is found in the [debugging document](/docs/editor/debugging.md).
80+
81+
Additionally, the [Django](/docs/python/tutorial-django.md) and [Flask](/docs/python/tutorial-flask.md) tutorials provide examples of how to implement debugging in the context of web applications, including debugging Django templates.
8082

8183
<video autoplay loop muted playsinline controls title="Python debugging video">
8284
<source src="/docs/languages/python/python-debugging.mp4" type="video/mp4">
@@ -122,11 +124,12 @@ Using either method, Notebook Editor or a Python file, you can also connect to a
122124

123125
## Testing
124126

125-
The Python extension supports [testing](/docs/python/testing.md) with unittest and pytest.
127+
The Python extension supports [testing](/docs/python/testing.md) with Python's built-in unittest framework and pytest.
128+
129+
In order to run tests, you must enable one of the supported testing frameworks in the settings of your project. Each framework has its own specific settings, such as arguments for identifying the paths and patterns for test discovery.
126130

127-
To run tests, you enable one of the frameworks in settings. Each framework also has specific settings, such as arguments that identify paths and patterns for test discovery.
131+
Once the tests have been discovered, VS Code provides a variety of commands (on the Status Bar, the Command Palette, and elsewhere) to run and debug tests. These commands also allow you to run individual test files and methods
128132

129-
Once discovered, VS Code provides a variety of commands (on the Status Bar, the Command Palette, and elsewhere) to run and debug tests, including the ability to run individual test files and individual methods.
130133

131134
## Configuration
132135

0 commit comments

Comments
 (0)