HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Issue to set KPR up in Vanilla 3.3
This discussion is related to the Kpr - Krumo Print Debugger addon.
I have some issues to set it up.
I am not an expert and learning Vanilla.
A small code example would be great:
- Checks user permission (Garden.Settings.Manager) before calling Krumo allows for debugging on a production site.
What would be the best code for Garden.Settings.Manager?
- - Kpr::dump($myVar); // outputs the variable at the top of the content area
- - Kpr::backtrace(); // outputs a backtrace;
- - Kpr::includes(); // outputs all files included
- - Kpr::classes(); // outputs all classes referenced
- - Kpr::defines(); // outputs all defines
Wwhat do we have add before KPR::?
Thanks in advance.
0
Comments
I would recommend to use the official debugbar plugin instead:
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Thank you Bleistivt.
I installled debugbar and it is working. I can I guess remove KPR.
Now the game beginnings as I have a lot of bug reports. The install is from the shelf done by our provider.
I will post surely questions to solve my problems...bit frustating when you are new to this.