-
-
Notifications
You must be signed in to change notification settings - Fork 194
Implement Debug Command #516
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
Conversation
An example of a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great and I can see it being super useful, so I'm very keen to get this in for v1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This pull request introduces a new
DebugCommand
to generate debug information for opening issues and updates theNativeServiceProvider
to include this command. The most important changes are summarized below:New Command Addition:
src/Commands/DebugCommand.php
: Introduced a newDebugCommand
class to generate debug information, including environment data, NativePHP data, and error log data. The command supports output to file, clipboard, or console.Service Provider Update:
src/NativeServiceProvider.php
: AddedDebugCommand
to the list of available commands in theconfigurePackage
method.