Answer the question
In order to leave comments, you need to log in
How to set a breakpoint in a php function called from an ajax request?
- we have: Ubuntu, XAMPP + Xdebug, phpStorm.
- in the course of the script, an ajax request is made to the php function,
- can I set a breakpoint in this function and how?
Answer the question
In order to leave comments, you need to log in
Of course you can, calling a function via ajax is no different from a regular call
Put a breakpoint in the code, enable debugging in the browser, run ajax and phpstorm intercepts the call
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question