[xdebug-general] Re: Remote debug on AWS

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 5 Nov 2015 10:00:32 -0500 (EST)

On Thu, 5 Nov 2015, Marco De Bortoli wrote:

> I'm desperately trying to get Xdebug working with PhpStorm and a
> remote server running on AWS. I tried pretty much everything I could
> know of and also everything I could find online. The last attempt I've
> done, the only one that wasn't throwing a timeout error, is the one
> using ssh tunneling.

As long as you don't need to go through a firewall on your local (non
AWS side) while the AWS side is making a connection to the IP where your
IDE and Browser run, you should only need xdebug.remote_connect_back=1
and xdebug.remote_enable=1.

> This the command I launched to create the tunnel:
> https://gist.github.com/debo/9fa2affa75a243085d95
> This is the xdebug config:
> https://gist.github.com/debo/b6d212cdb759269de929

Both looks ok for using the SSH tunnel method.

> And this is what shows up in the log:
> https://gist.github.com/debo/5ff6a6285a18777ae4cd

This is peculiar, as there are 3 unfinished connections with some
commands coming through. Is PHP crashing for you? (Check the
Apache/Web Server/PHP logs).


Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Nov 05 2015 - 15:00:34 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST