Enabling debugging makes richer call stack information available, but ClearScript doesn't have a convenient API for retrieving it. You could deliberately throw a script error, catch the exception, and parse the call stack out of
IScriptEngineException.ErrorDetails
, but we don't recommend it. We're tracking this here.