Learn how to use the Charles Map Local function to debug client code.
→Charles:
Download a free trial of Charles here.
→s.apl Utility Function:
[javascript]
/*
* Utility Function: apl
*/
s.apl=new Function(“L”,”v”,”d”,”u”,””
+”var s=this,m=0;if(!L)L=”;if(u){var i,n,a=s.split(L,d);for(i=0;i
[javascript]
javascript:void(window.open(%22%22,%22dp_debugger%22,%22width=600,height=600,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1%22).document.write(%22%3Cscript%20language=%22JavaScript%22%20id=dbg%20src=%22http://www.digitalpulse.omniture.com/dp/debugger.js%22%3E%3C/%22+%22script%3E%22));
[/javascript]
Leave a comment
At the risk of sounding ignorant… I’ve been using charles for 4 years and never new it could do that. Thanks!
Love this!
I’ve been using this ever since you told me about it.
-Rudi
I live inside of Charles, specifically for the map local functionality. I found out about the map local functionality of Charles a couple of years ago, and my life has never been the same since. Good to get the word out on this awesome tool.
Hi Jason, great video this will be really useful.
I’m struggling to get this working for a secure page. I’ve added the http and https settings in to Charles and only the http pages seem to map.
Qu – is it possible to use local mapping for secure pages? If it is, can you see what I’m doing wrong?
Here is a link to 2 pages and my ‘map local’ settings.
2012_01_24_Charles_MapLocal_Issue
Many thanks,
JK
All sorted – thanks for your help Jen.
Jason sir,
You are a king amongst men, thank you for providing an excellently done video.
-Alex