5
votes

What is the main difference between ext-all-debug.js and ext-all-dev.js?

"ext-all-debug.js" is mainly used for development & debugging.

Using "ext-all-dev.js" will have any advantage?

Please clarify.

3

3 Answers

10
votes
  • ext-all.js: minified, no docs/comments
  • ext-all-debug.js: non-minified, no docs/comments
  • ext-all-debug-w-comments.js: non-minified, with docs/comments
  • ext-all-dev.js: non-minified, with docs/comments, with console warnings, e.g. if you're using deprecated functions/configs or there are configuration problems. The additional console output in ext-all-dev.js can be really helpful, so I'd recommend it for development.
  • ext-all-debug.js: (or ext-all-debug-w-comments.js) is functionally the same as ext-all.js, allows better debugging since it's not minified. I'd recommend it for testing purposes.
  • ext-all.js: obviously is what you want to use in production, since the file is much smaller than the other files.
2
votes

ext-all-debug.js is not minified, has documentation, but no console output. ext-all-dev.js is not minified, has documentation and console output.

ext-all.js is minified, has no documenation and no console output.

0
votes

the debug version of Ext is not compressed and is a lot easier to read/step through in a debugger. You might also consider using ext-all-debug-w-comments.js.