README

changeset 40
ab43c18f9d31
parent 35
8843ea9f9e27
child 42
7b1896ff4315
equal deleted inserted replaced
39:1d2cca116cce 40:ab43c18f9d31
49 49
50 ### Debug 50 ### Debug
51 Due to the way Squish combines multiple scripts into one, sometimes when a squished script raises an error the traceback 51 Due to the way Squish combines multiple scripts into one, sometimes when a squished script raises an error the traceback
52 will be fairly unhelpful, and point to a line in the unreadable squished script. This is where the debug extension comes in! 52 will be fairly unhelpful, and point to a line in the unreadable squished script. This is where the debug extension comes in!
53 53
54 #### --enable-debug 54 #### --debug
55 This option includes some code into the squished file which will restore the filenames and line numbers in error messages and 55 This option includes some code into the squished file which will restore the filenames and line numbers in error messages and
56 tracebacks. This option will increase the size of the output by no more than about 6KB, so may be very much worth it when 56 tracebacks. This option will increase the size of the output by no more than about 6KB, so may be very much worth it when
57 squishing large tricky-to-debug applications and libraries. 57 squishing large tricky-to-debug applications and libraries.
58 58
59 **Note:** Minification may interfere with the line number calculation, use --minify-level=debug to enable all features of minify 59 **Note:** Minification may interfere with the line number calculation, use --minify-level=debug to enable all features of minify

mercurial