On 2021-02-13 14:33, Christoforos Korifidis wrote:

I am trying to debug a Jooomla web site on the following system:

  * NetBeans 12.1
  * Xdebug 3.0.2
  * PHP 7.4.14
  * nginx 1.18.0
  * CentOS 8

Xdebug configuration from this file |/etc/php.d/90-xdebug.ini|:

|extension=/usr/lib64/php/modules/xdebug.so xdebug.mode=debug xdebug.start_with_request=yes xdebug.client_port=9003 xdebug.client_host=localhost xdebug.log=/var/log/xdebug.log xdebug.idekey="netbeans-xdebug" |

The attached file is a screenshot of my netbeans php debug configuration file. Port is 9003 and maximum data length is 9999.

When I start debugging NetBeans shows that it is connected to Xdebug but it does not stop on breakpoints.

Also I don't see any |/var/log/xdebug.log| file at all.

Any help is appreciated.


Not sure if this will help, but these settings worked for me in all versions of Netbeans from 8.2 on (Windows, Apache)

xdebug.idekey=netbeans-xdebug
xdebug.remote_autostart=0
xdebug.remote_cookie_expire_time = 36000
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_mode=req
xdebug.remote_port=9000
zend_extension={my path}\php_xdebug-2.9.4-7.4-vc15-x86_64.dll

It's been a long time, but IIRC I had to change localhost to the IP address. I recently bumped my max data length from 20480 to 40960.

--
For Apache Netbeans Users List

Reply via email to