@
@
@Twitt2019-10-16 11:12:10
PHP
@Twitt, 2019-10-16 11:12:10

Why doesn't curl_exec start a separate process in the debugger?

I am in a file, say, index.php, I make a request to test.php in curl_exec, and for some reason the debugger is not picked up (it does not go to the first line of test.php, although I have the debugger on the first line enabled).
The strange thing is that if you run test.php in the browser, everything works and the debugger is picked up, but if you run it through curl_exec, it doesn't.
MAYBE the problem is that I am accessing host.loc/sky/api/test/index.php from host.loc/sky/book/test.php. (the urls are slightly different). But the debugger in fact works both there and there, if you make requests through postman, or directly in the browser. Another person has the same strip debugged, perhaps a problem with PhpStorm itself?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question