On Thu, 12 Aug 2010, Ben Waine wrote:
> I hope someone can help, I'm having some difficulty using remote debugging
> with netbeans on the windows 7 (professional) CLI.
>
> I'll outline the process I have gone through thus far:
> *
> 1) Set up php.ini:*
>
> xdebug.remote_enable=On;
> xdebug.remote_host=localhost;
> xdebug.remote_port=9000;
> xdebug.remote_handler="dbgp";
> xdebug.remote_mode=req;
You don't need the last four, also, perhaps the ";" at the end is
crating havoc? Did you check whether the settingsare made correctly?
> *6) In the CLI set environment variable*:
>
> At this step i have tried both:
>
> set XDEBUG_CONFIG="idekey </docs/all_settings#idekey>=netbeans-xdebug"
>
> and
>
> set XDEBUG_CONFIG=idekey <../../docs/all_settings#idekey>=netbeans-xdebug"
Your HTML mail client mangled this. Correct is:
set XDEBUG_CONFIG="idekey=netbeans-xdebug"
(or whatever netbeans wants; I've no idea whether windows can deal with
this syntax though.
>
> *7) Execute PHP script: *
>
> php xdebugtest.php
>
> output: 5
Can you check with some tool from sysinternals.com that Xdebug actually
tries to make the connection? And does the simple client work? (See:
http://xdebug.org/files/debugclient-0.9.0.exe) (For that to work, you
need to not run netbeans of course).
Derick
-- Like Xdebug? Consider a donation: http://xdebug.org/donate.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org twitter: @derickr and @xdebugReceived on Thu Aug 12 2010 - 11:39:00 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST