4 ms·
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 t
by EdSharkey 12y ago
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?
- nileshk 12y agoI would block the port using a firewall, and use a SSH tunnel to access the port.
- jtheory 12y agoWe 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!
- eropple 12y agoI 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.