In my architecture Javascript code is generated in the server.
A huge chunk of Javascript code is generated, stored in a java.lang.String and sent to the client side.
I want to more easily debug the generated code (both the generation and how it runs).
Someone knows an easy way to format Javascript code?
Two closely-related questions (possible duplicates):