Disable xDebug on phpMyAdmin

前端 未结 1 579
春和景丽
春和景丽 2021-01-18 07:14

I am using xDebug for a first time. Everything works well, but when I want to go on localhost/phpmyadmin it want to start debug (I don\'t have breakpoints here)

相关标签:
1条回答
  • 2021-01-18 07:50

    You can just turn off the debug connection listener by going to Run > Stop Listening for PHP Debug Connections.

    PHPStorm will then ignore any connections from Xdebug. When you want to debug something again simply go to Run > Start Listening for PHP Debug Connections and it'll work again.

    You could also permanently ignore those files by using Skipped Paths:

    • Go to Preferences
    • Go to Languages & Frameworks > PHP > Debug > Skipped Paths
    • Click the '+' sign to open a browse dialog
    • Browse to the web root where the phpmyadmin folder is located and select that folder
    • Click OK and exit out of preferences

    The debugger should now ignore scripts in that directory.

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