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

Can't enter core python libraries in debug mode

Open
#1,627 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the example in a Python 3.12.2 local virtual environment with justMyCode set to false, comparing stepping into datetime and math with pydantic. Done means core Python library modules can be entered while debugging, consistently with the reported third-party library behavior.

Written by the indexing model from the issue text.

Description

bug

I am unable to step through core python libraries when debugging python code

With justMyCode set to false i'm able to enter 3rd party libraries, but I can't step into core python libs like datetime or math

Example code block

import datetime # can't enter this module
import pydantic # can enter here
import math # can't enter this one again

Additional context: I am using python v 3.12.2 installed in a local venv

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.