PlugPlugExternalObject
PlugPlugExternalObject is a library that InDesign developers can integrate to get debug information from ExtendScript code to the HTML extension’s JavaScript DOM.
Note: This library is integrated in Illustrator, Photoshop and Premiere Pro (CC 2014) - developers will only need this library for InDesign.