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

[CLI] Debug mode should return runtime errors #1988

Open
bgrgicak opened this issue Nov 8, 2024 · 0 comments
Open

[CLI] Debug mode should return runtime errors #1988

bgrgicak opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
[Package][@wp-playground] CLI [Type] Bug An existing feature does not function as intended

Comments

@bgrgicak
Copy link
Collaborator

bgrgicak commented Nov 8, 2024

The --debug Playground CLI argument returns only errors during boot.

We should also update the CLI to return runtime errors if the --debug argument is provided.

Research

We already have log handlers, could we reuse or build a new one for the CLI?

If no, a good place to add request logging is the handleRequest function.

@bgrgicak bgrgicak self-assigned this Nov 8, 2024
@bgrgicak bgrgicak added [Type] Bug An existing feature does not function as intended [Package][@wp-playground] CLI labels Nov 8, 2024
@bgrgicak bgrgicak moved this from Inbox to Up next in Playground Board Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package][@wp-playground] CLI [Type] Bug An existing feature does not function as intended
Projects
Status: Up next
Development

No branches or pull requests

1 participant