GoogleContainerTools / GoogleContainerTools/container-debug-support

Python launcher should support python args

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
104
Forks
32
PR merge metrics
No merged PRs in 30d

Description

_This issue is to track adding support for the Python launcher used in `skaffold debug` for Python interpreter command-line flags. Please add a 👍 if this affects you and please describe which arguments you are using and why._

The Python launcher does not support invocations of the Python interpreter with command-line arguments other than `-m` for a modue. For example: `python -E -m flask` will break. A cursory look doesn't show that args are typically used with Python apps.

Contributor guide

Open the contributing guide

Research direction

Start with the Python launcher used by `skaffold debug` and reproduce the failing invocation `python -E -m flask`. Trace how interpreter arguments are currently handled, then verify that command-line flags other than `-m` work without breaking module launches.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.