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

Troubleshooting Launch Script in Browser - Need to put Breakpoint

Avatar

Avatar
Validate 1
Level 1
jayachandrant68
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
jayachandrant68
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
jayachandrant68
Level 1

08-08-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

241 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
thomas_amsler
Level 8

Likes

241 likes

Total Posts

159 posts

Correct Reply

26 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
thomas_amsler
Level 8

13-08-2018

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.

Answers (0)