How phpstom debugs thinkphp projects

ask Daniel how to debug a thinkphp project with phpstom+xdebug,. At present, I cannot enter the breakpoint of the controrller layer. It is only valid at the breakpoint hit by the entry file. Ask the old apes for guidance.

Mar.15,2021

because it is a class and method called by the reflection mechanism. So you can't go in


now that you can break the point at the entry, it means that your xdebug has been configured.
when you press the ladybug button, the link to the browser that opens will automatically take a parameter like XDEBUG_SESSION_START=10146
you just need to visit the web page path of the controller of your breakpoint with this session parameter to enter the breakpoint of phpstrom

.
Menu