Debug remote server through ssh tunnel
7 posts
• Page 1 of 1
Debug remote server through ssh tunnel
I use PHP Tools for Visual Studio 2010 PERSONAL LICENSE 1.8.4452.
I want to debug php script in remote server that placed on vps.
When I use Eclipse, I make ssh tunnel and it goes well.
But when I use PHP Tools for VS, it doesn't works.
Is there any advice to do it?
I want to debug php script in remote server that placed on vps.
When I use Eclipse, I make ssh tunnel and it goes well.
But when I use PHP Tools for VS, it doesn't works.
Is there any advice to do it?
- kkoba
- Posts: 25
- Joined: June 22nd, 2013, 11:13 am
Re: Debug remote server through ssh tunnel
Hi,
Thank you for question. I personally haven't used ssh tunel for remote debugging, but maybe this article will help? http://derickrethans.nl/debugging-with-xdebug-and-firewalls.html
Is there some option in Eclipse for this PHP Tools are missing?
Thanks again,
Thank you for question. I personally haven't used ssh tunel for remote debugging, but maybe this article will help? http://derickrethans.nl/debugging-with-xdebug-and-firewalls.html
Is there some option in Eclipse for this PHP Tools are missing?
Thanks again,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debug remote server through ssh tunnel
Thanks for replying,
I has made ssh tunnel by "ssh -R 9000:localhost:9000 user@server" as the page you suggested.
I has confirmed ssh tunnel is valid by Eclipse debugger.
But when PHP Tools for VS, its debugger doesn't be invoked.
Is there a way to analyze it? (For example, PHP Tools debugger connection log)
Do PHP Tools debugger accept a connection from ssh tunnel?
I has made ssh tunnel by "ssh -R 9000:localhost:9000 user@server" as the page you suggested.
I has confirmed ssh tunnel is valid by Eclipse debugger.
But when PHP Tools for VS, its debugger doesn't be invoked.
Is there a way to analyze it? (For example, PHP Tools debugger connection log)
Do PHP Tools debugger accept a connection from ssh tunnel?
- kkoba
- Posts: 25
- Joined: June 22nd, 2013, 11:13 am
Re: Debug remote server through ssh tunnel
Hi,
I've tried to set ssh tunnel myself using putty to test it out and there is actually a small bug preventing PHP Tools to debug in this setup.
I'm working on a fix so I'll just give you fixed version as soon as we have it. ETA 1 day.
Thanks for understanding and reporting this
I've tried to set ssh tunnel myself using putty to test it out and there is actually a small bug preventing PHP Tools to debug in this setup.
I'm working on a fix so I'll just give you fixed version as soon as we have it. ETA 1 day.
Thanks for understanding and reporting this
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debug remote server through ssh tunnel
Here is the fixed version.
Give me know if you are able to establish connection through ssh tunnel now.
Thanks,
Give me know if you are able to establish connection through ssh tunnel now.
Thanks,
You do not have the required permissions to view the files attached to this post.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Debug remote server through ssh tunnel
Thanks a lot!
I got your newer vsix package and installed it.
Then remote xdebug through ssh tunnel works well.
I can do setting break-point, processing by step-in, watching variables and so on.
It's great!
I got your newer vsix package and installed it.
Then remote xdebug through ssh tunnel works well.
I can do setting break-point, processing by step-in, watching variables and so on.
It's great!
- kkoba
- Posts: 25
- Joined: June 22nd, 2013, 11:13 am
Re: Debug remote server through ssh tunnel
Great! I'm glad it works, the fix will be included into next official update.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests