Componentize -d all-debug option
For debugging it would be convenient to have a jco componentize -d all-debug option which would disable all features except for stdio for debugging.
What do you think about about allowing something like --disable all --enable stdio ? I think the generality of allowing disable + enable (and documenting that we handle disables first/how they combine)?
It feels like it would be hard to describe the string all-debug in the CLI help text -- maybe if it was something more descriptive like all-except-debug or something or -d preset-debug (with docs somewhere on what the "debug" preset does for feature toggling) or something...
Sure, we could have disable union with enable features to allow different sets, that seems to make sense to me? I guess the question then is which takes precedence, but disable taking precedence might be fine.
I still think having a simple flag to remember would be useful. Alternatively, perhaps we just have a singular debug mode - jco componentize --debug, and perhaps that's really what we need to keep things straightforward.
That all said, on a debug build you might want to disable stdio - jco componentize --debug --disable stdio, so the reverse composition.