To simplify command line usage, an entry point has been added to the debugpy package.
If you install debugpy into an environment via pip, you can just run debugpy from that environment, instead of running python -m debugpy
If you install debugpy into an isolated directory, the debugpy executable can be found in the bin directory inside of the install directory. In this case, you need to add the install directory to your PYTHONPATH in order for the imports to work.
To simply command line usage, switches can now be read from the environment.
To do this, use the variable DEBUGPY_EXTRA_ARGV and add whatever command-line switches you like.
For example, set DEBUGPY_EXTRA_ARGV=--connect 5678 will allow you to omit the --connect switch from the command line.
If the same switch is found on both the command line and the environment, the one from the environment is ignored.
The switch that specifies the "target" MUST be on the command line (filename, -m <module>, -c <code>, or --pid <id>)
Commits
a68a804 Merge pull request #1646 from microsoft/remove_vendored_info
ae01f96 remove extra dist-info folder causing issues when uploading to pypi
dc58df1 Merge pull request #1549 from wmvanvliet/qt6
7b3dfb8 Merge pull request #1639 from microsoft/add_entry_point
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps debugpy from 1.8.2 to 1.8.5.
Release notes
Sourced from debugpy's releases.
Commits
a68a804
Merge pull request #1646 from microsoft/remove_vendored_infoae01f96
remove extra dist-info folder causing issues when uploading to pypidc58df1
Merge pull request #1549 from wmvanvliet/qt67b3dfb8
Merge pull request #1639 from microsoft/add_entry_pointaaab993
fix comments and remove unneeded logic1245e8e
fix indent bugbcab469
Allow the user to specify debugpy path via the environment820d21e
Merge pull request #1624 from microsoft/extra_argv_envvar7abb9cc
PR Feedback0274b12
PR feedbackDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show