Laravel Debuging on Neatbeans

By ukmodak | March 31st 2024 10:38:02 AM | viewed 928 times

Browse the following linkXDebug and follow the instruction

copy all php.ini file content and past to textarea and click on output. according to the direction download php_xdebug-2.9.6-7.2-vc15.dll file past on php/ext/ directory

Open php.ini file and past at bottom the following code:

[xdebug]
zend_extension = "D:\xampp_726\php\ext\php_xdebug-2.9.6-7.2-vc15.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "D:\xampp_726\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "D:\xampp_726\tmp"
xdebug.idekey = netbeans-xdebug
xdebug.remote_port = 9000
xdebug.remote_mode = req
xdebug.show_local_vars = 9
xdebug.auto_trace = 0

Visit http://localhost/dashboard/phpinfo.php and see xdebug is install successfully

Open xdebug and click on tools->options->php->debuging

Debugging port: 9000   // // same as php.ini file xdebug
session id:netbeans-xdebug   // same as php.ini file xdebug
stop at first line : null

Restart xampp and debug code from neatbeans

bONEandALL
Visitor

Total : 27273

Today :9

Today Visit Country :

  • United States
  • Sweden
  • Singapore
  • Russia