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.

0
2 comments

Hi there,

Have you tried "Settings/Preferences | Languages & Frameworks | PHP | Debug --> Ignore external connections through unregistered server configurations"?

1

It seems to work. Thanks allot.

0

Please sign in to leave a comment.