Popis
This plugin is basically a wrapper for the excellent dBug (http://dbug.ospinto.com) class for PHP debugging, written by Kwaku Otchere..
Instead of var_dump or echo, you can call wp_dbug( $variable ) to get clear, dynamic debug output of strings, arrays, or objects.
Thanks to @borkweb, the plugin is now compatible with the WP Debug Bar plugin (https://wordpress.org/extend/plugins/debug-bar/) for extra debugging goodness!
Inštalácia
- Download the plugin and unzip it into wp-content/plugins.
- Activate the plugin by going to Plugins and choosing Activate.
- Use for debug output anywhere within WordPress by calling wp_dbug( $variable ).
Časté otázky
Q: This is just a class with a wrapper for WordPress. Why bother?
A: It took 15 minutes to write, and saves me 5 minutes every time I need to debug a new blog. ‚Nuff said.
Q: Can I use this stuff outside of WordPress?
A: Yes! Go to http://dbug.ospinto.com and download the dBug class, then include it in whatever project you’re working on.
Recenzie
Pre tento plugin nie sú žiadne recenzie.
Prispievatelia a vývojári
“wp-dBug” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.
PrispievateliaPreložiť „wp-dBug“ do vašho jazyka.
Máte záujem o vývoj?
Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.
