First time here? Check out the FAQ!

Revision history  [back]

remote debugging on Heroku

For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If anyone has gotten this to work (or determined that it will not work), I'd love to hear about it.

So here's what I've found so far.

I found instructions on SSH tunneling to my dyno at https://devcenter.heroku.com/articles/exec. Heroku does not permit a straight "ssh" command, but it does have a command to set up port forwarding from the local host to the dyno. (heroku ps:forward). It does not look like that command also sets up the reverse tunnel :(

So I think the set of steps that I will need is:

  1. Set a value for kSecurityToken in my wingdbstub.py
  2. Add wingdbstub.py to my git repository, so that it gets pushed with the rest of my deployment
  3. Set up the appropriate DNS & Firewall rules so that the dyno can open a connection to my development host

Do I need to add some base level of Wing code (the "remote" stuff) into my git repo so that it gets installed on the dyno?

remote debugging on Heroku

For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If anyone has gotten this to work (or determined that it will not work), I'd love to hear about it.

So here's what I've found so far.

I found instructions on SSH tunneling to my dyno at https://devcenter.heroku.com/articles/exec. Heroku does not permit a straight "ssh" command, but it does have a command to set up port forwarding from the local host to the dyno. (heroku ps:forward). It does not look like that command also sets up the reverse tunnel :(

So I think the set of steps that I will need is:

  1. Set a value for kSecurityToken in my wingdbstub.py
  2. Add wingdbstub.py to my git repository, so that it gets pushed with the rest of my deployment
  3. Set up the appropriate DNS & Firewall rules so that the dyno can open a connection to my development host

Do I need to add some base level of Wing code (the "remote" stuff) into my git repo so that it gets installed on the dyno?

remote debugging on Heroku

For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If anyone has gotten this to work (or determined that it will not work), I'd love to hear about it.

So here's what I've found so far.

I found instructions on SSH tunneling to my dyno at https://devcenter.heroku.com/articles/exec. Heroku does not permit a straight "ssh" command, but it does have a command to set up port forwarding from the local host to the dyno. (heroku ps:forward). It does not look like that command also sets up the reverse tunnel :(

So I think the set of steps that I will need is:

  1. Set a value for kSecurityToken in my wingdbstub.py
  2. Add wingdbstub.py to my git repository, so that it gets pushed with the rest of my deployment
  3. Set up the appropriate DNS & Firewall rules so that the dyno can open a connection to my development host

Do I need to add some base level of Wing code (the "remote" stuff) into my git repo so that it gets installed on the dyno?

remote debugging on Heroku

For today's adventure, I'm going to try setting up remote debugging on a Heroku dyno. If anyone has gotten this to work (or determined that it will not work), I'd love to hear about it.

So here's what I've found so far.

I found instructions on SSH tunneling to my dyno at https://devcenter.heroku.com/articles/exec. Heroku does not permit a straight "ssh" command, but it does have a command to set up port forwarding from the local host to the dyno. (heroku ps:forward). It does not look like that command also sets up the reverse tunnel :(

So I think the set of steps that I will need is:

  1. Set a value for kSecurityToken in my wingdbstub.py
  2. Add wingdbstub.py to my git repository, so that it gets pushed with the rest of my deployment
  3. Set up the appropriate DNS & Firewall rules so that the dyno can open a connection to my development host

Do I need to add some base level of Wing code (the "remote" stuff) into my git repo so that it gets installed on the dyno?