[xdebug-general] Re: Issues in installing and using xDebug

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 10 May 2018 10:12:57 +0100 (BST)

On Tue, 8 May 2018, Giovanni Guarino wrote:

> When I try to launch the debug, NetBeans remains with the phrase "Waiting
> for Connection (netbeans-xdebug)". I found some tricks made by others, and
> then I added the following lines in the php.ini:
>
> [xDebug]
> zend_extension = "c:\xampp\php\ext\php_xdebug-2.6.0-7.2-vc15-nts.dll"
> xdebug.remote_enable=1
> xdebug.remote_handler="dbgp"
> xdebug.remote_host=127.0.0.1
> xdebug.remote_port=9000
> xdebug.remote_mode=req
> xdebug.idekey="netbeans-xdebug"
> xdebug.remote_connect_back=1
> xdebug.remote_autostart=1
>
> But the problem remains.
>
> Also, if I create a phpinfo() into a php page and I call it by a browser,
> there is the following line:
> This program makes use of the Zend Scripting Language Engine:
> Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies and also the
> Zend's logo, but I don't see any xdebug reference in the resulting page.
>
> What am I missed? I remain at your disposal, I need to solve the issue to
> go ahead.

If Xdebug doesn't show up in phpinfo() output, you've added it to the
wrong php.ini file. THe top of phpinfo() output should tell you which
php.ini file is loaded. Alternatively, you might try removing the "'s
from around the value in the zend_extension line.

cheers,
Derick

-- 
Like Xdebug? Consider a donation: https://xdebug.org/donate.php,
or become my Patron: https://www.patreon.com/derickr
Xdebug | https://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu May 10 2018 - 10:12:58 BST

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