Moodle event observers “fire” asynchronously based on events that get triggered by user activity, and so… hard to catch and debug by simply passing the XDEBUG variable via the browser.
Enters… xdebug_break()
Moodle event observers “fire” asynchronously based on events that get triggered by user activity, and so… hard to catch and debug by simply passing the XDEBUG variable via the browser.
Enters… xdebug_break()