astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.6k stars 466 forks source link

Suggestion: Easy way to launch rye test in debugger mode with debugpy #1105

Open ShravanSunder opened 4 months ago

ShravanSunder commented 4 months ago

It would be amazing DX if i could launch commands from rye (like rye test) and have it launch in debug mode with debugpy listening python -m debugpy --listen 0.0.0.0:5678 xxx. The port could be configurable for example.