Skip navigation

Option to add //# sourceURL to Dev Environment

score 0
You have not voted. New Idea

One challenge I have found with Adobe Launch is debugging custom rules. The custom code in Adobe Launch is put into JSON strings and evaluated resulting in the code not being available in Developer Tools for debugging.

 

I found a feature in Chrome Dev Tools that allows a local override and a “SourceURL” to be set.

If I modify the script file by adding something like this to the end. “//# sourceURL=someUniqueName.js”

Then I can find “someUniqueName.js” in sources and browse the code and set breakpoints.

 

Request idea

Add a checkbox in the Environments tab of Adobe Launch “Turn on SourceURL” for Dev and/or Staging scripts.

When checked. It would add this “//# sourceURL={uniqueFileName}.js” To the end of every generated script.

This could greatly simplify debugging.

Comments

Vote history