Hi all
I'm trying to create a plugin for jqmath. It is based on the tutorial (creating a random plugin and also in the simplecart plugin).
This plugin will just add additional assets once loaded to the template.
To check variables I enabled the debugger. I get the debugger bar displayed but can't seem to print any messages or variables.
$grav['debugger']->addMessage("Debugger enabled");
As a test I then changed it to the following, this did not work - and I believe should not because $my_var is not defined. But this did not raise an exception either or produced any other errors.
$grav['debugger']->addMessage($my_var)
Event used: onAssetsInitialized
Environment:
Windows 7
Server xampp stack
I enabled the debugger in the user system.yaml file. I also tried enablling it in the system config file (this I changed back to the default).
I ran bin/grav clear-cache with on success.
Are there any additional steps that I'm missing?