XDebug triggered on any host
Hello,
i am running with PHPStorm 2017.1.4 but i had this problem with all of the previous versions. When setting up a project, i setup XDebug for that projects host. It works fine but XDebug also fires on any request of the other hosts from that web server. It even opens PHP files from those other projects or scripts, like PhpMyAdmin.
For example:
I turn it on to project.dev and it still fires and needs my interaction (pressing ok or cancel) if i request phpmyadmin.dev.
Is there any way to turn that off, so XDebug only connects to the host in question? I know i can turn off XDebug but sometimes i don't want that.
请先登录再写评论。
Hi there,
Have you tried "Settings/Preferences | Languages & Frameworks | PHP | Debug --> Ignore external connections through unregistered server configurations"?
It seems to work. Thanks allot.