debug_kit
debug_kit copied to clipboard
Feature: CLI debug
It would be useful to debug shells/commands.
When commands finishes, it could print web URL with DebugKit request ID, so all info from executing command could be seen in browser.
Most panels would be still useful, few could be replaced with CLI specific:
- Sql Log - most useful to see
- Request - could be replaced with parsed arguments/options
- Routes - could list all available commands
- Cache, Deprecations, Environment, Include, Log, Mail, Packages - same behavior as web
- History - CLI requests could be marked differently
- Timer - there is no controller events, so only generic duration information
- Session, Variables - the only ones I can see no use/replacement in CLI
I'm just unsure how and when DebugKit would inject into app.
I'm just unsure how and when DebugKit would inject into app.
We could add and then use events in CommandRunner to attach the panels.