Netbeans PHP Xdebugger

https://www.codewall.co.uk/debug-php-with-xdebug-on-netbeans/

  1. Highlight all of the information on the page and copy it.
  2. Go to the XDebug Wizard tool.
  3. Paste the information into the Text Box input on the wizard tool page.
  4. Locate and click the ‘Analyse my phpinfo() output’ button.
  5. Download the provided module under Instructions

Before pasting the below part make sure the ext downloaded is compatible with your web server. (May refer to the url on top)
Make sure that netbean config is set accordingly with the config below

[XDebug]

zend_extension="C:\xampp\php\ext\php_xdebug-3.1.3-7.2-vc15-x86_64.dll"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_handler="dbgp"
xdebug.remote_host=localhost
xdebug.remote_port=9003
#xdebug.remote_mode=req
xdebug.mode=debug
xdebug.idekey="netbeans-xdebug"

You may also like...