Netbeans Xdebug does not work

2

I'm trying to use Netbeans Xdebug. I mark the line, and then click on "Debug file". However, nothing happens to me! Do you have any specific settings what should I do? When I do this procedure, in the right corner of Netbeans is "Waiting connection (netbeans-xdebug)".

    
asked by anonymous 13.04.2015 / 18:40

2 answers

2

Andraw, I'm a beginner at and I went through the same problem , I searched, I searched, and I got it!

To check out the way to put the xdebug dll, use the xdebug site itself, where you have a part of Installation Instructions *, had provided the correct path, as said @rray should start to appear errors in orange.

php.ini
(in my php.ini there was nothing about XDebug)

[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.4.0-5.6-vc11.dll
xdebug.remote_enable=1
xdebug.profiler_enable=1

The path was what the site with the instructions generated:

  

You're already running the latest Xdebug version

     

But here are the instructions anyway:

     
  • Download php_xdebug-2.4.0-5.6-vc11.dll
  •   
  • Move the downloaded file to C: \ xampp \ php \ ext
  •   
  • Update C:\xampp\php\php.ini and change the line
    zend_extension = C:\xampp\php\ext\php_xdebug-2.4.0-5.6-vc11.dll
  •   
  • Restart the webserver
  •   

    * Paste in the text box of the site, the output of phpinfo() (can be the source code of the HTML page generated, or the output of php -i )

    Any questions you can ask, I've been trying to figure this out may have been missing something :)

        
    25.04.2016 / 02:29
    0

    add the following section in your php.ini

    [XDebug]
    zend_extension_ts = "./php/ext/php_xdebug<version>.dll"
    xdebug.remote_enable=1
    xdebug.remote_autostart = 1
    xdebug.remote_host=127.0.0.1
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.profiler_enable=1
    xdebug.profiler_output_dir="<XAMPP_HOME>\tmp"
    

    Source: link

        
    21.12.2016 / 22:19