debug_kit icon indicating copy to clipboard operation
debug_kit copied to clipboard

Feature: CLI debug

Open garas opened this issue 6 years ago • 2 comments

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.

garas avatar Dec 10 '19 17:12 garas

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.

markstory avatar Dec 10 '19 23:12 markstory