Skip to content

Debugpy not working, and exit immediately, how can i find what problems it happens with system analysis to #1852

@sunyd1006

Description

@sunyd1006

Before creating a new issue, please check the FAQ to see if your question is answered there.

Environment data

  • debugpy version: 1.4.1
  • OS and version: MacOs 15.0.1 (24A348)
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda Python 3.9.7 (default, Sep 16 2021, 08:50:36)
  • Using VS Code or Visual Studio: VS Code

Actual behavior

  1. config python project with .vscode/launch.json and go to debug

Expected behavior

  1. run python file and stop at my first breakpoints, but i see next info and no anything stop before it exits.

cd /Users/sunyindong/codespace/learn/ml_repo/d2l-zh/pytorch ; /usr/bin/env DEBUGPY_LOG_DIR=/Users/sunyi
ndong/.vscode/extensions/ms-python.debugpy-2025.0.1-darwin-arm64 /opt/homebrew/bin/python3 /Users/sunyindong/.vscode/extensions/ms-pyth
on.debugpy-2025.0.1-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 60576 -- /Users/sunyindong/codespace/learn/ml_repo
/d2l-zh/pytorch/8chapter_recurrent-neural-networks/rnn-scratch.ipynb

Steps to reproduce:

  1. XXX

debugger.vscode_7407cee1-0708-42c0-9dab-8af6bc71f84e.log

Metadata

Metadata

Assignees

Labels

needs reproIssue has not been reproduced yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions