Is there a tool that allows you to debug PHP applications line by line? How is this done in perl or .net?

Is there an equivalent of "perl -d" for PHP? I need to run a complex unit test and don't want to install any firefox or client / server extensions. Just search line by line for my code.

thanks

+4
source share
3 answers

Unfortunately, PHP has no internal debugger

There is an interactive shell but not sure if this will be a good solution for you.

0
source

I use VS.php , which is a commercial add-in for Microsoft Visual Studio (from 2003 to 2010). It includes GDB and XDebug and a local Apache server. It supports end-to-end debugging, as you describe, and integration with VS, including the Locals, Watch, and Call Stack windows.

I understand that such systems exist for Eclipse (as well as for free), as well as for the Komodo commercial environment.

0
source

use Eclipse and choose a perspective like PHP ..... you use APACHE for the web server ... in that you need to add XDEBUG to the dll in the php folder EXT and made some changes to php.ini and it will work like this same as the .NET debugger ...... step by step ....

0
source

Source: https://habr.com/ru/post/1432827/


All Articles