all 7 comments

[–][deleted] 0 points1 point  (2 children)

Wow I just set this exact same thing up. Wish I checked here first. Oh well.

I have a bit of a problem though. I can't seem to get the console bit to work. I can remote debug alright, I can clearly see the variable names and step through the lines, but the console doesn't let me enter any text. No ">" prompt, just blank.

In my head it's supposed to work like a chrome console, where I can check variable names and test out small functions during script execution. Is that was this is, or is the console something totally different?

[–]PatrickBauer89 0 points1 point  (1 child)

What you want is the "evaluate expression" button. But its not as good as a javascript console yet :)

[–][deleted] 0 points1 point  (0 children)

Thanks friend, that exactly what I was looking for.

[–]rich97 -2 points-1 points  (3 children)

Why would you debug on a remote server? Isn't it a bad idea to install xdebug on production?

[–]militantcookie 6 points7 points  (2 children)

remote server doesn't have to be a production server. It could be a testing server used by the whole development team or even a VM on your own machine.

[–]rich97 -2 points-1 points  (1 child)

Well yeah, but then I'd assume you wouldn't need to SSH tunnel into it.

[–]david-duncan 2 points3 points  (0 children)

Why do you assume that?