microsoft / microsoft/PTVS

An error pops up after clicking 'Find' when attach to python remote.

Open
#7,724 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs investigation
Dominant language
C#
Stars
2.6k
Forks
680
Avg merge
39m
Merged PRs (30d)
1

Description

Environment
image

Steps to Reproduce

  1. Launch VS and create new python application
  2. Typing code in python file
	import debugpy
	print(debugpy.__version__)
	debugpy.listen(("localhost", 5678))
	debugpy.wait_for_client()
	print('hello')

3 Run this with CTRL+F5 then attach to tcp://localhost:5678 and it stops at the breakpoint

Expected behavior
It run without any error and stop at the breakpoint.

Actual results
An error pops up.
image
remote_find_button

This is a new interface.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Visual Studio using the provided Python debugpy script, CTRL+F5, and the tcp://localhost:5678 attach flow. Start with the new remote-attach interface and its Find action; done means the error no longer appears and execution stops at the breakpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.