debug: best practices for displaying variables (console log, file system or xf_admin_log for crons ...)

  • Thread starter Thread starter Marcus
  • Start date Start date

Marcus

Guest
Member
Is there a best practice for displaying variables when writing an addon?

1. If I write a cron, what is the preferred debug method? Writing to the admin log? Or to a file system, is that possible?

2. For functions like preSave(), is it best to show the output in the browser console log? Is there an xf function to do that?

Or do you recommend xdebug or another external tool ? What do you use for debugging?


free plugins
minecraft paid for free
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top