-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update branch for debugpy 1.5.1 with last changes in main #124
Merged
paulacamargo25
merged 31 commits into
microsoft:release/python3.6/main
from
paulacamargo25:update-3.6
Jan 15, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9991e78
update pre release (#71)
paulacamargo25 117bc23
Add port provider (#85)
paulacamargo25 d73a20e
Add global configuration for justMyCode (#91)
paulacamargo25 77e97c9
Update extension name (#84)
paulacamargo25 ebab1f4
use version 1.7 (#95)
paulacamargo25 d2a7cb4
Remove default justMyCode (#100)
paulacamargo25 422bec7
Fix error in workspace (#101)
paulacamargo25 7815c67
Bump mheap/github-action-required-labels from 3 to 5 (#23)
dependabot[bot] 5a5d700
Bump @typescript-eslint/parser from 5.59.11 to 5.62.0 (#61)
dependabot[bot] 546cd93
Bump typescript from 5.1.3 to 5.2.2 (#79)
dependabot[bot] df90d43
Update npm packages (#105)
paulacamargo25 224bc8f
Update to node 18 (#106)
paulacamargo25 ec9e135
Platform-specific vsix (#89)
paulacamargo25 616f92e
Fix GDPR comments (#113)
lramos15 72efd8e
Update readme (#111)
paulacamargo25 3a55036
Remove build folder from bundled vsix (#120)
DonJayamanne 0203bc8
Update debugpy version
paulacamargo25 92d65af
Update nox and pipelines
paulacamargo25 08cae80
update json file
paulacamargo25 8ddd17d
fix actions
paulacamargo25 1fe2017
fix 3.6 error
paulacamargo25 1d7f338
fix error running with 3.6
paulacamargo25 d1ed3cb
fix lint
paulacamargo25 441b7ce
update python version
paulacamargo25 cca7487
fix error in lint pipeline
paulacamargo25 6bda57e
update pipelines
paulacamargo25 12eb6ed
fix nox file
paulacamargo25 4fa43cb
fix tests
paulacamargo25 eac8810
fix pipeline error
paulacamargo25 6d05e53
fix lint
paulacamargo25 bfb007b
use python 3.6
paulacamargo25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,15 +41,15 @@ runs: | |
${{ runner.os }}-pip-lint- | ||
|
||
# For faster/better builds of sdists. | ||
- name: Update pip, install pipx and install wheel | ||
run: python -m pip install -U pip pipx wheel | ||
- name: Update pip, install nox and install wheel | ||
run: python -m pip install -U pip nox wheel | ||
Comment on lines
+44
to
+45
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my comments on the other action. |
||
shell: bash | ||
|
||
# This will install libraries to a target directory. | ||
- name: Install bundled python libraries | ||
run: pipx run nox --session install_old_bundled_libs | ||
run: python -m nox --session install_bundled_libs | ||
shell: bash | ||
|
||
- name: Check linting and formatting | ||
run: pipx run nox --session lint | ||
run: python -m nox --session lint | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,37 @@ | ||
# Debugpy extension for Visual Studio Code | ||
# Python Debugger extension for Visual Studio Code | ||
|
||
A [Visual Studio Code](https://code.visualstudio.com/) [extension](https://marketplace.visualstudio.com/VSCode) that supports Python debugging with debugpy. debugpy provides a seamless debugging experience by allowing you to set breakpoints, step through code, inspect variables, and perform other essential debugging tasks. The debugy extension offers debugging support for various types of Python applications including scripts, web applications, remote processes, and multi-threaded processes. | ||
A [Visual Studio Code](https://code.visualstudio.com/) [extension](https://marketplace.visualstudio.com/VSCode) that supports Python debugging with debugpy. Python Debugger provides a seamless debugging experience by allowing you to set breakpoints, step through code, inspect variables, and perform other essential debugging tasks. The debugy extension offers debugging support for various types of Python applications including scripts, web applications, remote processes, and multi-threaded processes. | ||
|
||
Note: | ||
- The Python extension offers the debugpy extension as an optional installation, including it during the setup process. | ||
- The Python extension offers the python debugger extension as an optional installation, including it during the setup process. | ||
- This extension is supported for all [actively supported versions](https://devguide.python.org/#status-of-python-branches) of the Python language (i.e., Python >= 3.7). | ||
|
||
|
||
## Purpose | ||
|
||
The main intent of this extension is to offer: | ||
|
||
1. **Independence and Compatibility:** The Python Debugger extension aims to separate the debugging functionality from the main Python extension to prevent compatibility issues. This ensures that even as the Python extension drops support for older Python versions (e.g., Python 3.7), you can continue debugging projects with those versions without downgrading your Python extension. This allows you to access new features and bug fixes while keeping your debugging capabilities intact. | ||
|
||
2. **Platform-Specific Builds:** Unlike the main Python extension, which bundles all debugpy builds for various platforms into a single extension package, the Python Debugger extension provides a more streamlined approach: it delivers platform-specific builds, ensuring you only receive the components relevant to your specific operating system. This reduces download times and unnecessary overhead. | ||
|
||
3. **Feature Parity and Ongoing Updates:** This extension replicates all the functionality available in the main Python extension, and more. Going forward, any new debugger features will be added to this extension. In the future, the Python extension will no longer offer debugging support on its own, and we will transition all debugging support to this extension for all debugging functionality. | ||
|
||
|
||
## Usage | ||
|
||
Once installed in Visual Studio Code, debugpy will be automatically activated when you open a Python file. | ||
Once installed in Visual Studio Code, python-debugger will be automatically activated when you open a Python file. | ||
|
||
## Disabling the Debugpy extension | ||
If you want to disable the Debugpy extension, you can [disable this extension](https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension) per workspace in Visual Studio Code. | ||
## Disabling the Python Debugger extension | ||
If you want to disable the Python Debugger extension, you can [disable this extension](https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension) per workspace in Visual Studio Code. | ||
|
||
## Commands | ||
|
||
| Command | Description | | ||
| ---------------------- | --------------------------------- | | ||
| Debugpy: viewOutput | Show the debugpy extension output. | | ||
| Debugpy: clearCacheAndReload | Allows you to clear the global values set in the extension. | | ||
| Debugpy: debugInTerminal | Allows you to debug a simple Python file in the terminal. | | ||
| Python Debugger: viewOutput | Show the Python Debugger Extension output. | | ||
| Python Debugger: clearCacheAndReload | Allows you to clear the global values set in the extension. | | ||
| Python Debugger: debugInTerminal | Allows you to debug a simple Python file in the terminal. | | ||
|
||
## Data and telemetry | ||
The Debubpy Extension for Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](https://privacy.microsoft.com/privacystatement) to learn more. This extension respects the `telemetry.enableTelemetry` setting which you can learn more about at https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is
wheel
installed?And GitHub Actions includes pipx by default, so you should be able to skip installing both Nox and pipx and use
pipx run nox
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed pipx because I got an error using python 3.6