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 · 2 comments
Open

Feature: CLI debug #717

garas opened this issue Dec 10, 2019 · 2 comments

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.

Copy link

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale label Aug 10, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2024
@markstory markstory reopened this Aug 26, 2024
@markstory markstory removed the stale label Aug 26, 2024
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

3 participants
@markstory @garas and others