C
C
cybernoob2018-02-08 09:22:21
xdebug
cybernoob, 2018-02-08 09:22:21

How to work with xdebug?

There is a dev-server, development is being carried out on it, installed xdebug, a beautiful var_dump () appeared, but ... how to use everything else. How to view the call stack, for example, the application has several files, I'm interested in which file it picked up at the moment.
Or on one of the pages there is an incomprehensible redirect from site.com/page to site.com/page2, I need to find out where this redirect occurs. How can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andrejtad, 2018-02-08
@andrejtad

Forward port 9000 (or whatever you have configured) from the dev machine to your own via ssh.
Set up your IDE for debugging according to the instructions of which are in bulk on the net.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question