Xdebug Email Requests with PhpStorm

I am using PphpStorm 2016.1. Php engine is php 7.0.4 and xdebug version is 2.4.0. I also use ubuntu 16.04. The problem is that I can debug every request. But when I want to debug a post request, the global variable $_POSTgets an empty variable. In debug mode, form publishing works, but when I turn on debugging in PhpStorm, I don’t see the data variables $_POST. I did everything, but I did not find a solution.

+4
source share
1 answer

documents:

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

Didn't you forget that?

+3
source

All Articles