Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make NetBeans not stop on the first line with xdebug?

Tags:

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.

like image 915
Asa Ayers Avatar asked Dec 08 '08 21:12

Asa Ayers


People also ask

Why xdebug not working?

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.

How to put breakpoint in NetBeans?

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.

Does NetBeans have a debugger?

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.


2 Answers

I just found my answer, you go to Tools > Options > PHP (section) and there is a checkbox for "stop at the first line"

like image 50
Asa Ayers Avatar answered Nov 14 '22 10:11

Asa Ayers


For Mac users, you go to the Netbeans > Preferences... and find it under the PHP section

like image 33
nathan Avatar answered Nov 14 '22 09:11

nathan