Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to remotely debug Java and JSP with Eclipse (jvmhost.com)
15 points by jvmhost on June 5, 2014 | hide | past | favorite | 10 comments


ive been doing it for at least 8 years - how is this news?


I think its educational for a lot of people brought up with languages and infrastructure without this capability.

Then again I never debug in production these days, preferring logging and debugging replicas. It only takes one thread being shot to ruin your day (and your users).


I learned what jwdp stands for. Never bothered to research that.

As for remote debugging a hosted JVM, I would worry about opening a debug port like that to the interwebs. Doesn't this create another attack surface with which to undermine the JVM?


We use this most often to connect to a development environment which is running locally anyway, but you can achieve the same effect (without opening ports to the general internet!) with port forwarding over SSH; then you just connect to "localhost" on your selected port, which forwards to selected port on "localhost" on the remote server.

It probably goes without saying that you wouldn't enable this on production, in any case -- hitting a breakpoint wouldn't be nice to whoever hits it!


I would block the port using a firewall, and use a SSH tunnel to access the port.


I do everything prod in AWS and just open a security group to my IP. Or I make an SSH tunnel in from a bastion server.


Exactly! I can't believe this has made it to the front page.


It's not. It's just SEO marketing.

I would be surprised if anyone mentioned they were using Eclipse or JSP. Both are seen as legacy technologies amongst most enterprise developers.


8 is quite an understatement here.


im young :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: