This question has come up a few times recently and in the fine tradition of “Amateurs copy – artist steal”
Using the Debugger with Adobe Reader
||Create key/value pairs in the registry settings, starting at the location HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\JSPrefs\ on Windows as shown in the table below, or in the property list file :Library:Preferences:com.adobe.Reader9.0.plist on Mac OS. For Mac OS, use an appropriate editor for the property list file, and add the following children under JSPrefs, using Type : Array in each case: ConsoleOpen, ConsoleInput, EnableDebugger, and Exceptions. Under each of these children, add the following children: 0 (number) and 1 (boolean).
||Close and restart Adobe Reader. At this point the Debugger will be available.
Registry key/value pairs for Windows
(This will break into the Debugger when exceptions occur.)
Link to the original document