Setup PHPStorm Debugging


i am trying to setup the phpstorm debugging.
What i’ve done is:

  • installing php-xdebug via apt-get
  • changed the xdebug.ini
  • then restarted apache
  • installed the chrome xdebug helper
  • setted up a Debug configuation as “PHP Web Page” in phpStorm with my remote server.

In my local environment this was at least kinda working. It wasnt perfect becuase I still got mapping Problems (and I really don’t get why) but I could see that it was at least recognizing the debug session at all.

My particular problem now is that i am working remotely on the server and can’t get a stable debugging environment. I forwarded Port 9000 but phpstorm debugger isnt getting any recognizations.
Pimcore is available via DynDNS.

My xdebug.ini File:
xdebug.profiler_enable_trigger = 1
xdebug.profiler_enable = 0
xdebug.remote_enable = 1
xdebug.profiler_output_dir = “/tmp”
xdebug.remote_port = 9000
xdebug.remote_host =
xdebug.remote_connect_back = false


Soo. I solved some of the problems. First problem was that I installed the wrong version of xDebug…

Now I am able to listen to Pimcore and see the server variables. But i still can’t set breakpoints or watch any of my variables if i put them to the watchlist it’s always like variable = “variable” and nothing changes.

If I set my paths like I would suggest.

Local Path -> Server Path

everyhing breaks… sigh