Closed
Description
Environment data
- debugpy version: 1.8.0
- OS and version: Windows 10
- Python version: 3.12 64bit
- Using VS Code
Actual behavior
Importing the emoji module (v2.10.0) with debugging enabled takes a long time with Python 3.12 compared to Python 3.11.
When running from VS Code with the default debug configuration via F5
, the import takes 4 minutes on Python 3.12 but only 50ms on Python 3.11
The emoji module contains a large Python file, here. I suspect the slow debugging has something to do with this file.
Expected behavior
Similar run times in Python 3.11 and Python 3.12
Steps to reproduce:
- Install emoji module:
pip install emoji==2.10.0
- Create a test file in VS Code that imports the emoji module:
import time start = time.time() import emoji end = time.time() print("import time", end - start)
- Set VS Code to Python 3.12
- Run in VS Code by pressing
F5
Metadata
Metadata
Assignees
Labels
No labels