Netbook xdebug nightmare

I know what you think, OTHER netbeans xdebug post?

Ok, I tried everything I saw in other posts and nothing works. Here is my setup:

  • OS: Ubuntu 9.10
  • PHP: 5.2.1
  • Netbeans: 6.8

In my / etc / php 5 / apache2 / php.ini

is the following:
zend_extension=/usr/lib/php5/20060613/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey="netbeans-xdebug" 

I tried switching ports (I already tried 9001, 9002 and 9034) using zend_extension_ts, adding additional xdebug options in the configuration file, but nothing works: Netbeans still says it is waiting for a connection (netbeans-xdebug)

If I look at my phpinfo, I see the whole section on xdebug and the parameters are correct.

Any help would be greatly appreciated!

+4
source share
3 answers

I don't know what happened, but I switched my debug port to 9000 and upgraded to Netbeans 6.9 and it works now.

+4
source

adding these lines solved my problems (usually)

 xdebug.remote_enable = on xdebug.profiler_enable = on xdebug.profiler_enable_trigger = on xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" 
+1
source

xdebug doesn't seem to work in "run as script" mode try on your local website

0
source

Source: https://habr.com/ru/post/1312071/


All Articles