Remote debug problems Phpstorm
PhpStorm is debugging locally, connecting through Wamp and firefox, break points no real issues.
I would like to debug on live site “www.....” , I built a couple of projects from existing code using
both the “ftp” and “web server is on remote host”. This seemed fine as the files where downloaded from the host to my local directory. I set break points “index” but this runs local files I know this as it tries to access my local database.
The relevant PHP.ini section
zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug-2.2.0-5.3-vc9-x86_64.dll"
xdebug.remote_enable = 1
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
; Trial for remote debugging got from storm disscusion group
; remove here if it toasts
I am a newbie with php, phpstorm and developing on wamp.
I have read that the Hosting site initiates the xdebug connection, this sort of suggest there maybe initialisation issues there as well ?
Port forwarding through the router? I not sure how to verify that this is ok other than accessing the router and looking at the moment this shows nothing but that could mean they are all blocked. Or how I could verify this would wire shark caputure this traffic
I would be very gratful for any pointers where I am going astray or more info if my explanation is missing relevant details
Thanks for reading