I've just started using phpstorm and I'm having some trouble getting debugging working the way I'd like. I suspect it's just something silly I'm doing, so time to turn to the experts ;) I've tried some searching here in the community as well as on google and I've watched the 'how to debug' video, but I'm still stuck.
I have a large (several hundred files) php project that I run locally via lighttpd. I've got xdebug installed and working (used it with eclipse PDT until I switched over to phpstorm) and I have a mostly-working debug configuration set up in phpstorm. I set up my deployment server as follows:
-- Name --
-- Connection --
access type: local
web server root url: http://my.local.domain.com (opens fine with the test button)
-- Mappings --
local path: /Users/evonderweid/dev/myproject
web path: /
my debug configuration looks like this:
-- Server --
-- Start URL --
matching local path: /Users/evonderweid/dev/myproject
-- Debug --
open web page in browser
that's it; no other boxes checked.
if I set a breakpoint somewhere in the homepage code, I can start up a debugging session and it will break in the correct spot. if I set a breakpoint anywhere that's not in the homepage code, the debugger will say 'Waiting for connection on port 9000 with ide key PhpStorm1' and will not break no matter what page I navigate to in the browser. so, if I set a breakpoint somewhere in Page B's code, for example, and then I start up a debugging session the homepage will load and then when I click over to Page B in the browser, my breakpoint isn't hit. if I tack "?XDEBUG_SESSION_START=PhpStorm1" onto the end of the url for Page B my breakpoint will be hit, but it's far from ideal to have to manually edit the url in the browser every time I click on a link. in eclipse, once I've started my debugging session I can click around the site and hit breakpoints wherever I have them set. what do I have to configure to get phpstorm to do the same?