Asa Ayers
Asa Ayers

Reputation: 4894

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

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.

Upvotes: 24

Views: 6858

Answers (3)

Rohan K
Rohan K

Reputation: 962

Tools -> Options -> Php -> Debugging -> Uncheck "Stop at first line" -> Apply -> OK.

enter image description here

enter image description here

Upvotes: 1

nathan
nathan

Reputation: 4732

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

Upvotes: 9

Asa Ayers
Asa Ayers

Reputation: 4894

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

Upvotes: 61

Related Questions