Hacker News new | ask | show | jobs
by Taikonerd 1406 days ago
In my case, it's a technical limitation: the code that I write runs on a remote computer, not my laptop.

I know that "remote debugging" is a thing, but I would need to talk with our network guys about firewall exceptions to allow me to connect to the Kubernetes pod over port XYZ. That sounds like a hassle, and I'm not sure they'd allow it.

2 comments

Can you SSH into the remote machine? Visual Studio Code offers quite solid remote development tools through ssh (maybe other means too): https://code.visualstudio.com/docs/remote/remote-overview

I would guess that it also supports debugging.

That's a really interesting idea! I'm going to try that out later.

(Thanks also to matthias247, who also suggested this.)

you could check if the debugger somehow can run over SSH. That would alleviate the need for opening more ports.