[xdebug-general] Re: Beginner issues with remote debug

From: Anil T Samuel <Anil.Samuel[@]oracle.com>
Date: Thu, 10 Jan 2008 20:07:12 +1100

Anil Samuel | Principal Technical Member | Database Tools
Oracle Corporation
L7 324 St. Kilda Rd
Melbourne, VICTORIA 3004
Australia
+61.3.8616.3823

On 10/01/2008, at 8:00 PM, Derick Rethans wrote:

> On Thu, 10 Jan 2008, Anil T Samuel wrote:
>
>> I tried these steps on Linux and Windows but same result.
>>
>> 1. modified php.ini
>> a. to include zend_extension (or zend_extension_ts for windows).
>> b. to include xdebug.remote_enable=On
>> 2. from bash shell, export XDEBUG_CONFIG="idekey=session_name"
>> 3. from same bash shell, tried php hello.php - I expected this to
>> start a
>> listening server at localhost:9000 (default values); but didnot.
>
> That's correct, as PHP/Xdebug actually acts like a *client* to connect
> to the IDE (the debugclient executable is actually the *server*).

So I suppose what I did here is correct.

>
>
>> php -i shows the same php.ini as Configuration file as I modified
>> above here.
>> php -v shows that xdebug extension is loaded.
>>
>> then I tried debugclient; which seemed to listen at localhost:9000
>> and
>> displays "Connect" when a connection is made; but doesnot return
>> <init> packet
>> as I expected.
>>
>> Am I missing something ?
>
> Maybe, which version of both PHP and debugclient do you run, and, what
> is the value of the xdebug.remote_handler setting?
>

I left this to the defaults.

Thanks
Anthos
Received on Thu Jan 10 2008 - 10:07:38 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST