Remote debugging with XDebug and PHPStorm

后端 未结 4 1252
[愿得一人]
[愿得一人] 2021-02-01 05:37

First things first:

  • Server is an Apache running on Debian in a VMPlayer
  • Host is Windows 7
  • Debugging-Server is XDebug
  • Files are directly
4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 06:25

    1. Ensure that remote debugging is enabled in php.ini

      xdebug.remote_enable = 1

    2. Your server "192.168.56.128" should be in PHP-> Servers

    3. Add PHP Web Application Debug Configuration, and use added server
    4. Set a breakpoint and start debugging using this configuration

提交回复
热议问题