mac-cain13 / xdebug-helper-for-chrome

Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc
307 stars 97 forks source link

Specify session cookie's path? #78

Open stebogit opened 7 years ago

stebogit commented 7 years ago

Hi, I'm using xdebug on my development server (virtual machine) and I noticed that when I am running the debugger I can not access MySqlAdmin on the same server (it just wait for the server, which is busy running my app, to respond) to verify the data while stepping through the code. If I specify the path of the PHPSTORM cookie though to my project root folder (see picture) I can use both the services at the same time. However I have to manually add the path every time I start Chrome. Am I doing something wrong or missing something? Any suggestion to avoid this problem? Or maybe is it possible to add the capability to specify the path only once in the extension settings? Thanks!

screen shot 2016-12-20 at 4 07 28 pm

mac-cain13 commented 7 years ago

Setting the path is indeed not supported. I'm not sure what a clear interface would be to configure the path without being utterly confused when you try to debug on another host once in a while. A whole hostname + path configuration sounds a bit complex.

Personally I've always used desktop apps to connect to MySQL or ran webclients on another domain. That could be a workaround for now, but setting the path manually also is a nice workaround.

I'm open to ideas about how we could implement this.