VSCode + Xdebug + PHP configuration

前端 未结 1 877
情话喂你
情话喂你 2021-01-25 09:21

I\'m trying to set up Xdebug with VScode, but whenever I set breakpoints it\'s just ignoring it.

I installed https://marketplace.visualstudio.com/items?itemName=felixfbe

1条回答
  •  梦毁少年i
    2021-01-25 10:10

    I believe you may need the following in your php.ini:

    xdebug.remote_connect_back=1
    

    See the xdebug.ini for WPLib Box’s PHP container which definitely works with XDEBUG and VS Code.

    0 讨论(0)
提交回复
热议问题