Xdebug - command is not available

前端 未结 6 482
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 02:23

I\'m debugging remotely my project in PhpStorm. IDE shows \'Connected\' for a moment and immediately goes into \'Waiting for incoming connection...\'

Below is Xdebug

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 02:57

    I had same problem under windows, with phpstorm, i was googling many time. Eventually, my decision is the:

    in php.ini:

    xdebug.remote_mode = "jit"
    

    From phpstorm tutorial, JIT - "Just-In-Time" Mode

    https://www.jetbrains.com/help/phpstorm/2016.2/configuring-xdebug.html#d43035e303

    UPD

    No, this option does not helped me actually. But, i resolve my issue in the end:

    I use phpstrom for win 7, and i configured the path mapping this way:

    d:\serverroot\vhost\www => d:\serverroot\vhost\www

    but in my old config i spied such mapping:

    d:\serverroot\vhost\www => d:/serverroot/vhost/www

    Finally

    On windows machines in path mapping in server configuration replace the \ by /

提交回复
热议问题