GoogleContainerTools / container-debug-support

Language-runtime support files for in-container debugging
Apache License 2.0
93 stars 25 forks source link

Python launcher should warn on unsupported Python version #68

Closed briandealwis closed 3 years ago

briandealwis commented 3 years ago

We currently support Python 2.7 and 3.7+. The Python launcher should fail when running with an unsupported version. Currently the attempt to launch Python fails with a cryptic error like:

/usr/local/bin/python: No module named debugpy
briandealwis commented 3 years ago

We should warn in case the user has manually installed debugpy or pydevd.