[wp-trac] [WordPress Trac] #32358: Add unminified jQuery to core for better debugging with SCRIPT_DEBUG enabled
WordPress Trac
noreply at wordpress.org
Wed Jun 29 18:26:22 UTC 2016
#32358: Add unminified jQuery to core for better debugging with SCRIPT_DEBUG
enabled
------------------------------------------------+--------------------------
Reporter: CrazyJaco | Owner:
Type: feature request | Status: assigned
Priority: normal | Milestone: Future
Component: Script Loader | Release
Severity: normal | Version:
Keywords: has-patch ongoing needs-unit-tests | Resolution:
| Focuses:
------------------------------------------------+--------------------------
Comment (by iandunn):
Replying to [comment:23 azaozz]:
> And what would you do next after knowing the line number and eventually
the var name? Look at the trace to see which of your functions called
jQuery of course. I bet the error will always be in your function not in
the library.
>
> And what is stopping you do the same when jQuery is minified? Well,
nothing really. The trace is the part you really want/need to debug it :)
I think that's true in most cases, but maybe not all. IIRC, the trace
wasn't enough for the situation that prompted me to write that comment,
but it's been too long to remember the details, and offhand, I can't think
of another situation that would fit.
It's definitely possible that I just had a brain fart that day and didn't
think to look at the trace, but I'll keep an eye out for similar
situations in the future, and leave a comment here with details if I find
one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32358#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list