How to debug? the php backend when the front end is separated from the front end?

ask, for projects with separate front and rear ends, how do you debug? the php backend?

Php
Mar.04,2021

directly use tools such as posman to request php api to debug


1. You can use phpstorm to install xdebug
2. If you do not want to use this breakpoint debug, you can write your questions into a file. Then check the log
3, xdebug installation tutorial
http://www.simengphp.com/inde.


SocketLog


or use phpstorm with xdebug, to finally listen on the port of the front-end server.

Menu