Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Python 3.14 Debugging : PYTHONPATH causing hang

Open
#1,967 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the minimal Pydantic script in the issue and compare direct execution with VS Code debugging under Python 3.14. Inspect the debug configuration and PYTHONPATH behavior, then reproduce the hang with the versions shown in the screenshots. Done means the script starts normally in debug mode without hanging.

Written by the indexing model from the issue text.

Description

user responded

Hi guys!
Last days I was playing around the new python 3.14 bug I simply can´t run any script in debug mode!

Take a look!
Just a simple code!

from pydantic import BaseModel
class a(BaseModel):
    test: str
print("test")
Image Image

But a simple execution using vs code debbuging

Image Image

Tools:
Image

Image
Dominant language
Python
Stars
2.5k
Forks
202
Avg merge
5d 1h
Merged PRs (30d)
1

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.

More from microsoft/debugpy

All issues in microsoft/debugpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.