Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable break at first line php scripts intellij when debugging?

Intellij suspends my scripts always on the first line of my php scripts when using xdebug, and I don't know why

any ideas?

enter image description here

enter image description here

like image 872
Toskan Avatar asked Mar 05 '14 13:03

Toskan


People also ask

How do I skip a line while debugging in Intellij?

If you press and hold the Ctrl / ⌘ button while dragging the arrow, the IDE will highlight all the lines in green. When you drop the arrow, you won't jump to the line of code. Instead, the IDE will act as if you have used the Run to Cursor (⌥F9) action.

How do I turn off debugging In Intellij?

Terminate a debugger sessionClick the Stop button in the Debug tool window. Alternatively, press Ctrl+F2 and select the process to terminate (if there are two or more of them).

How do I change the code while debugging in Intellij?

Use breakpoint expressions In order to change the flow of your program, you can use non-suspending breakpoints that evaluate an expression when hit. This is useful, for example, when you want to automatically modify your variables during debugging.


2 Answers

Probably you've solved this a long time ago, but for the record:

Uncheck Run > Break at first line in PHP Scripts (last menu option in my IDE).

Found it via Ctrl + Shift + A typing "break"

PD. Also almost went nuts while finding it...

like image 122
Rubén Gómez Avatar answered Sep 30 '22 16:09

Rubén Gómez


Just if you want to localize it in the settings:

Settings > Languages & Frameworks > PHP > Debug:

External connections -> Break at first line in PHP scripts

It is the same place as the screen capture of the question, maybe they updated the view in latests versions of the IDE...

like image 40
Gli Avatar answered Sep 30 '22 17:09

Gli