1. Installation process search on the Internet is all, omitted here.
2. Because debug debugging needs to determine the xdebug_session in the cookie, then go to Debug. Because the app interface request can not be transmitted, and even if the delivery is also very troublesome, but also to let the app to change, very unrealistic.
3. To search the internet for a long time, did not search, so I find a way to do.
4. Because of their own local is nginx, so I can access the time, on the nginx above will xdebug_session this setting. Every time in the future no matter what request, with no xdebug_session, can be debugged.
server {
Listen 8080;
server_name localhost;
Root/users/sekibuntora/code/phpcode/tp5/wechat-mall/public; #这里改成你自己的目录
Index index.php index.html;
#charset Koi8-r;
Add_header Set-cookie ' xdebug_session=14571 ';
...
5. Done
Note: Xdebug_session values here, you can use the values in browser debugging.
Phpstorm+xdebug mobile App Debugging