T
T
testonder2015-06-10 11:49:30
PHP
testonder, 2015-06-10 11:49:30

PHPStorm and XDebug - why does it stop on every line?

Hello!
Set up Xdebug in conjunction with PHPStorm. I start debugging with a green beetle - and PHPStorm starts to stop on every line, even on those where there are no breakpoints ... How to make PHPStorm stop only on lines with a breakpoint.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
evgeniy1983, 2017-02-16
@evgeniy1983

@testonder
It happened because you clicked on "Break at first line in PHP scripts" in the Event log.
To cancel:
Ctrl + Shift + A and type "break"
In the box, set the radio button "Run Break at first line in PHP scripts" to OFF
Happy debugging :)

6
65536, 2015-06-10
@65536

those who made these incomprehensible articles on setting it up are to blame for everything
1. remove all the configs that you accumulated and pasted
2. it should be like this gyazo.com/9fe557ceb0211ac901c9924ec1274fab (it seems to be a default)
3. delete all those servers that we created gyazo.com/ ab311b6ad1a26ceb724562e4d637a128
4. there should be nothing in php web application either
5. that's all
6. now set a breakpoint, call the program and you will see the incoming connection window... there you need to accept your index.php. and it will create the necessary config and mappings by itself,
this is the easiest option when everything goes through the php index (do you have it?)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question