How to setup Docker + PhpStorm + xdebug on Ubuntu 16.04

后端 未结 2 2107
别跟我提以往
别跟我提以往 2020-12-01 17:24

My problem is that xdebug doesn\'t work when I start listening port. I think PhpStorm can\'t link with xdebug. I just get debugger panel variables are not available. It\'s l

2条回答
  •  广开言路
    2020-12-01 17:39

    Docker on Linux allows Xdebug to automatically connect back to the host system so you can just set xdebug.remote_connect_back=1 and leave out the xdebug.remote_host in your xdebug.ini.

提交回复
热议问题