NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging within a Vagrant VM


Joined: 31 Oct 2012
Posts: 12
Location: Canada
Reply with quote
Hi.

I need to debug a Laravel project wich is incorporated in a Vagrant and Homestead VM session.

I have added port forwarding for debuger port 8080 in my Homestead.yaml

ports:
- send: 27017
to: 27017
- send: 27020
to: 27020
- send: 8080
to: 8080

and added '?DBGSESSID=437344815794000003;d=1,p=0,c=1' in the URL but the debugger does not catch the break point I have placed in the code.

Can anyone point me in the right direction?

Thanks
View user's profileFind all posts by fledSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7990
Reply with quote
I'm not sure why would you need port forwarding for the debugger.
IF you run your server in a virtual machine, what you need is SSH daemon (service) running on your server and ssh tunnel in the IDE. There is a corresponding page in the Pproject Settings Wizard where you can setup the tunnel (which is port forwarding on top of SSH sesssion)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debugging within a Vagrant VM
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic