<p>I am currently developing a Drupal webpage using PDT. When running without XDebug, the site works fine.</p>

<p>When I enable XDebug, the site works fine but opens up tons of Javascript errors that I need to click through.</p>

<p>Example:</p>

<p>A Runtime Error has occurred.
Do you wish to Debug?</p>

<p>Line: 1
Error: Syntax error</p>

<p>--</p>

<p>It seems to only be a problem when XDebug/PDT uses Firefox as its browser, this problem does not occur when using IE. Could it be some incompatability with Firebug?</p>

[{'answer_id': 79166, 'author': 'Scott Rosenbaum', 'author_id': 5412, 'author_profile': 'https://Stackoverflow.com/users/5412', 'pm_score': 0, 'selected': False, 'text': '<p>This is a bit of a guess, but try \n   Windows => Preferences => JavaScript => Include Path</p>\n'}, {'answer_id': 476680, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>here is how to solve this problem:</p>\n\n<p>Turn off XDebug output capture:</p>\n\n<p>Window -> Preferences, expand PHP, expand Debug, select "Installed Debuggers", choose "XDebug", click "Configure" on the right to bring up the configure dialog. In the middle "Output Capture Settings", set "Capture stdout" to "Off".</p>\n'}]
['https://Stackoverflow.com/questions/65576', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/9364/']