container icon indicating copy to clipboard operation
container copied to clipboard

[Request]: Consistent, useful behavior for `--debug`.

Open jglogan opened this issue 1 year ago • 2 comments

Feature or enhancement request details

Tasks:

  • [ ] --debug is available every that it makes sense.
  • [ ] The global flags to which --debug belongs appear in consistent order relative to other options across all subcommands.
  • [ ] Where --debug does appear, it provides clear and actionable output. If the debug output does appears elsewhere than the CLI output (e.g. OS logs), the CLI informs the user where the debug output can be found.
  • [ ] If debug is not present and the CONTAINER_DEBUG environment variable is truthy, debug is enabled.
  • [ ] CONTAINER_DEBUG included in help text for debug everywhere (or consider removing it everywhere if we switch to using env variables instead of user defaults for settings). At present all commands seem to display it except system start.

Right now these leaf commands do not have --debug:

  • build
  • registry login
  • default unset
  • default inspect
  • volume [*]
  • builder [*]
  • system dns [*]
  • system stop
  • system status
  • system kernel set
  • help

Perhaps we can look at #360 as well while attending to this one.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

jglogan avatar Aug 16 '25 00:08 jglogan

@jglogan Hello! We are a group from UT Austin looking for issues to work on for our Virtualization class. We would love to work on this issue if it still needs to be closed.

karenheckel avatar Nov 10 '25 22:11 karenheckel

Hi! I’d like to work on the remaining parts of this issue (debug availability on missing subcommands, CONTAINER_DEBUG behavior, and help text consistency). Happy to take this if it’s still unassigned.

Pranjal-Jain-01 avatar Dec 22 '25 03:12 Pranjal-Jain-01