WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A lot of WP JS is minified and therefore it's hard to be analyzed in the Console. Is there any way to have all scripts uncompressed?

share|improve this question
up vote 7 down vote accepted

Yes there is, from Debugging in WordPress codex, you need to define SCRIPT_DEBUG in wp-config.php to force WP to load the dev versions of the scripts:

define('SCRIPT_DEBUG', true);
share|improve this answer
but this works only, if the script is in readable form inside the plugin or theme. If is not, then use the button on Webinspector in Chrome and create with one click a readable form. – bueltge Jan 27 '13 at 19:53
Keep in mind that while core WordPress includes these dev versions of scripts, not all plugins or themes do. – Stephen Jan 27 '13 at 20:09
Thanks! I'm only interested in WP dev versions of scripts :) – Paul Jan 27 '13 at 20:51
Also there is no non-minified version of backbone.js for some reason. – Wyck Jan 27 '13 at 23:21
Apparently core devs don't want to increase core size by adding unminified js files into core – Sisir Jan 8 at 7:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.