pdclark / git-plugin-updates

Enable WordPress automatic updates for plugins hosted on Github or Bitbucket.
70 stars 9 forks source link

Unit Tests #11

Open pdclark opened 11 years ago

pdclark commented 11 years ago

Recommended by @GaryJones

https://github.com/afragen/github-updater/issues/2#issuecomment-27373537

afragen commented 11 years ago

Any way to be able to set something so during debugging we can see all the variables like a var_dump to another window or something?

pdclark commented 11 years ago

I use FireBug + FirePHP for this. It lets you analyze any var, object, or array with FB::log( $var, 'label' );

There's a FirePHP plugin for WordPress. I use an internal plugin that includes it (if that one doesn't work.)

Most the the engineers at 10up use PHPStorm, which lets you go even further by pausing code while its executing, then analyzing the state of variables at that point.