-
Notifications
You must be signed in to change notification settings - Fork 5
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
Full stack trace trace is not displayed when using the plugin #58
Comments
This happens because Moodle sets PHP errors earlier than calls "after_config" hook. see https://github.com/moodle/moodle/blob/master/lib/setup.php#L702 |
Not sure about the best way to fix it. We can simply hardcode setting PHP debugging in the plugin the same way as it's in core. But not sure if this is the best solution. @golenkovm @brendanheywood @Peterburnett @keevan Any ideas? |
I was able to get it working. The missing bit was forcing debugdeveloper to 1. So following config works as expected.
|
I would reopen this and turn it into a documentation task. |
@Peterburnett came up with an idea to have a specific experiment config for enabling debugging.E.g. |
I have created #59 |
steps to replicate:
The text was updated successfully, but these errors were encountered: