$_SERVER not populated when using Eclipse PDT with xdebug
I'm trying to set up PHP debugging using Eclipse PDT and xdebug. I'm temptingly close: I can step though a simple test script successfully.
However, when I try to debug my actual website I hit a problem. The $_SERVER array doesn't have all its usual variables populated when debugging, and my scripts rely on them. It's fine when I run the page normally.
A var_dump($_SERVER) when debugging shows that it's not completely empty; it has the following variables set to appropriate values:
Does anyone have any idea what how I might get the usual DOCUMENT_ROOT, REQUEST_URI etc in there during a debug session?
I'm using Windows XP, Apache 2.2, PHP 5.2.6, Eclipse 3.3.2 and xdebug 2.0.3-5.2.5