On Wed, Aug 21, 2013 at 2:12 AM, Neil Kandalgaonkar <ne...@neilk.net> wrote: > On Monday, August 19, 2013 9:50:50 PM UTC-7, Ben Noordhuis wrote: >> >> On Tue, Aug 20, 2013 at 3:36 AM, Neil Kandalgaonkar <ne...@neilk.net> >> wrote: >> > I'm running node inside a Linux VM, on my Mac OS laptop. I'd like to >> > debug >> > node. For some reason I can't get the debugger protocol to be forwarded >> > over >> > a port. >> > >> > Is there something special about how the protocol works, or what >> > connections >> > node will accept? I can forward every other service I try. >> >> How are you forwarding the port? > > > I'm using the Vagrantfile, which has this line: > > config.vm.network :forwarded_port, host:5858, guest:5858 > > Similar configuration lines work for forwarded web services. I'm assuming > this is roughly equivalent to a ssh -L.
Sorry, I don't know Vagrant so I can't help you there but you probably want -R rather than -L, i.e.: $ ssh -R 127.0.0.1:5858:127.0.0.1:5858 user@host That forwards port 5858 from the remote to your local machine rather than the other way around. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.