Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Troubleshooting Launch Script in Browser - Need to put Breakpoint

jayachandrant68
Level 1
Level 1

Hi Folks,

I am new to Adobe launch, i would like to know is there any way to have unminified version of JS custom code which is getting loaded through launch. I would like to troubleshoot scripts by having a breakpoint at browser level. But all the scripts were super minified and its tough to troubleshoot at browser level, even pretty print/format option under developer toolbar doesn't help to unformat the code. Please let me know if there is any tricks for troubleshooting under launch

1 Accepted Solution
thomas_amsler
Correct answer by
Level 9
Level 9

Pretty print helped me to debug, but I agree the minifier does go rather far with renaming and even reorganizing your code and sometimes it is hard to debug if there are multiple statements combined with && or commas.

Usually your script ends with ".min.js" so you can use the unminified version by omitting the ".min". So on your side include the non minified version and you should be able to see the code how you wrote it.

View solution in original post

1 Reply
thomas_amsler
Correct answer by
Level 9
Level 9

Pretty print helped me to debug, but I agree the minifier does go rather far with renaming and even reorganizing your code and sometimes it is hard to debug if there are multiple statements combined with && or commas.

Usually your script ends with ".min.js" so you can use the unminified version by omitting the ".min". So on your side include the non minified version and you should be able to see the code how you wrote it.

View solution in original post