Skip to content

Specify ptvsd 3.0.0 or later is required for remote debugging in Python #1279

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

Merged
merged 1 commit into from
Nov 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/python/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ To debug an app that requires administrator privileges, use `"console": "externa

Remote debugging allows you to step through a program locally within VS Code while it's executed on a remote computer. In this case, it's necessary to have the source code on both computers.

1. On both development and remote computers, install the [ptvsd library](https://pypi.python.org/pypi/ptvsd).
1. On both development and remote computers, install the [ptvsd library](https://pypi.org/project/ptvsd/) (version `3.0.0` or later).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you fine with this link going to a pre-production deployment of the Warehouse? Is that only temporary and this will be the final URL as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and yes. 😄 It's only "pre-production" due to some management features not being available, otherwise API traffic is already going there. Plus the project just got funding from Mozilla to finish the work that has led to that label being there.

2. In the source code on both computers, add the following lines, replacing *my_secret* with the appropriate passphrase to authenticate remote debugging, and replacing *address* with the appropriate IP address (or `localhost`) and port number:

```python
Expand Down