[wp-trac] [WordPress Trac] #43292: Add dd() function for debugging
WordPress Trac
noreply at wordpress.org
Mon Feb 12 10:53:42 UTC 2018
#43292: Add dd() function for debugging
------------------------------------+------------------------------
Reporter: danieltj | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.4
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------------------
Comment (by Mte90):
I think that is can be very highly opinionated.
As example I don't use the browser to print stuff but the log so I can use
the same code also in production or somewhere without the risk of break
something with `error_log(print_r($var,true));`.
Also for the debug there are a lot of plugins that help on that like Query
monitor or Debug bar that implement this kind of things.
PS: There is also xDebug as option.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43292#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list