canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093
edits
(Created page with "{{FeatureStatus |Feature name=Readable Debugging (Prettify JavaScript) |Feature stage=Definition |Feature health=OK }} {{FeatureTeam |Feature product manager=Kevin Dangoor |Featu...") |
No edit summary |
||
| Line 11: | Line 11: | ||
|Feature overview=JavaScript code on a production server is generally going to be minified. This makes it very difficult to debug (and this is especially true given that our JavaScript engine does not presently give column numbers in errors). | |Feature overview=JavaScript code on a production server is generally going to be minified. This makes it very difficult to debug (and this is especially true given that our JavaScript engine does not presently give column numbers in errors). | ||
For this feature, we would provide the user with a way to prettify the JavaScript. | For this feature, we would provide the user with a way to prettify the JavaScript. | ||
|Feature functional spec=* User can choose to prettify the code | |Feature functional spec=If sourcemaps are available, those should be used rather than prettifying the code. | ||
* User can choose to prettify the code | |||
* User can set breakpoints against the prettified code | * User can set breakpoints against the prettified code | ||
* The choice to prettify a given script should be remembered between reloads | * The choice to prettify a given script should be remembered between reloads | ||