Open
Description
What happened?
when use default debugger for py_binary
the command generated is like:
/usr/local/bin/python3.12 -X pycache_prefix=/.../JetBrains/PyCharm2024.3/cpython-cache /Users/fuyaoz/Applications/PyCharm Professional Edition.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client 127.0.0.1 --port 55690 --file /.../server/server
notice the last parameter /../server/server is a shell instead of python file, the debugger will fail here:
switch back to official rules_python works
Version
Development (host) and target OS/architectures:
Output of bazel --version
: 7.4.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file: MODULE.bazel
Language(s) and/or frameworks involved: pyth
python plugin 1.0.0~ 1.3.2 behaviors similar
How to reproduce
Any other information?
No response