XDebug and RESTful server using PHPStorm or POSTman

后端 未结 4 836
灰色年华
灰色年华 2020-11-28 20:04

How can I get a REST client (such as the one built into PHPStorm or POSTman) to work with XDebug?

In my current set-up of XDebug, using PHPStorm and the Bookmarklet

4条回答
  •  天命终不由人
    2020-11-28 20:47

    This was driving me crazy. I just updated to PHP 7.1 and xdebug that was working no longer worked. I updated the xdebug.so file (Linux) and php --version indicated that xdebug was indeed being loaded and working. But when I would use Postman the debugger never kicked on.

    Here's the solution. If you are using Apache as your server then you need to enable the PHP 7.1 mods and reboot Apache: sudo service apache2 restart

提交回复
热议问题