I'm using NetBeans 6.5 for developing PHP and I have xdebug setup. Is there a way I can tell it not to stop on the first line of the file on every request? JIT mode won't fix this because I don't want it to stop on every exception that I catch.
Xdebug cannot connect to PhpStorm This means that Xdebug tries to connect to the host and can't make the connection. To fix the issue, set xdebug. remote_connect_back=0 ( xdebug. discover_client_host=false for Xdebug 3) and make sure that xdebug.
Start the ide and open the file that contains the source code that you want to debug. Set a breakpoint at each line where you want the debugger to pause. To set a breakpoint, place the cursor at the beginning of a line and press Ctrl-F8/⌘-F8 or choose Debug > Toggle Line Breakpoint.
NetBeans, like most other programming environments, provides a particular tool for this called a debugger. Debugging can be defined as the process used for examining the code for errors. Debugging is carried out by setting breakpoints in code and then using debugger to run it.
I just found my answer, you go to Tools > Options > PHP (section) and there is a checkbox for "stop at the first line"
For Mac users, you go to the Netbeans > Preferences... and find it under the PHP section
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With