Debugger Error on Start Listening

I have phpStorm 2017.3 running in High Sierra. I have it running on two separate machines with what I think are identical setups. I have always been able to set breakpoints, and then click the "Start Listening for PHP Debug Connections". Once I load the appropriate page in my browser, the window switches to PhpStorm at the appropriate breakpoint. I use Vagrant through VirtualBox for my web server. I do not use the browser "green bug" bookmarklets.

This has always worked flawlessly, but recently on one of the machines I receive an error when I click on "Start Listening..." before I even attempt to load the page in the browser. The error is:

In the Frames panel: console:13,{main}()

In the Variables panel:
Cannot find file '/var/www/project/sites/admin/bin/console' locally.
To fix it set name by environment variable PHP_IDE_CONFIG and restart debug session.

It's almost as if it's trying to perform a CLI debug when really I want a browser based debug session. Again, I have tried to go through all of the settings to see if they match. I even fully deleted PhpStorm and all preference files, reinstalled and imported my settings from my settings repository. The problem persists.

0
1 comment
Avatar
Permanently deleted user

Hello,

Please check the mappings in your deployment configuration as well as in Languages & Frameworks | PHP | Servers - must be something with them.

0

Please sign in to leave a comment.