Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: CLI debug #717

Open
garas opened this issue Dec 10, 2019 · 1 comment
Open

Feature: CLI debug #717

garas opened this issue Dec 10, 2019 · 1 comment

Comments

@garas
Copy link
Member

garas commented Dec 10, 2019

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 garas changed the title Feature Feature: CLI debug Dec 10, 2019
@markstory
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants