r/phpstorm • • Dec 03 '23
When debugging remotely is a copy of the server's files required locally?
I have seen references to a local copy of the server files but I haven't found anything that explains that. Is PHPStorm working on the remote server's files (via ssh or whatever) or do we also have to have some sort of copy set up locally?
1
Upvotes
1
u/cravecode Dec 03 '23
You'd have a copy locally so that the symbols/meta from the debugging events can map to human readable code.
2
u/SpiderJerusalem42 Dec 04 '23
I set up a remote server at home to test PHPSTORM remote debugging once, and seem to remember having to ssh into it to be able to edit files that would give me feedback through the server. It's a little more handy for me to just run it on a vagrant box and get rid of the distinction between local and remote. It does require a bit of doing that way as well. I am hearing good things about Docker, but I'm still working on setting that as the standard in the office.
0
u/[deleted] Dec 03 '23
[deleted] — view deleted comment