使用 PhpStorm 的 Xdebug post 个请求

Xdebug post requests with PhpStorm

我正在使用 PphpStorm 2016.1。 php引擎是php7.0.4,xdebug版本是2.4.0。我也在使用 ubuntu 16.04。问题是我可以调试每个请求。但是当我想调试 post 请求时,$_POST 全局变量变得空变量。使用调试模式 post 表单可以正常工作,但是当使用 PhpStorm 启用调试时,我看不到 $_POST 变量的数据。我做了一切,但我没有找到解决方案。

文档:

If you want to debug a script started through a web browser, simply add XDEBUG_SESSION_START=session_name as parameter to the URL. Instead of using a GET parameter, you can also set XDEBUG_SESSION_START as a POST parameter, or through a cookie.

你不是忘了这个吗?