Phpstorm does not see xdebug but it is installed

前端 未结 5 792
甜味超标
甜味超标 2021-02-04 09:51

PhpStorm cannot see xdebug but it is installed. In my browser xdebug works fine. Where is the problem?

The error:

Connection with \'xdebug\' was n

5条回答
  •  盖世英雄少女心
    2021-02-04 10:35

    I had a similar issue in that it worked then it did not.

    In my case, the cause turned out to be an miss placed .htaccess file in the root of the project.

    The .htaccess file (repeated below) was there from a previous set of testing and was intended to stop XDebug from working. It sure did.

    php_value xdebug.remote_autostart 0
    php_value xdebug.remote_enable 0
    php_value xdebug.profiler_enable 0
    

    I just renamed the file and like magic, all was good.

提交回复
热议问题