News for hackers. Stuff that matters.
Re:Ask HN: Why are we not using debuggers more? by Taikonerd on Thursday August 18, 2022 @02:54PM (#32513468)
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.

Re:Ask HN: Why are we not using debuggers more? by pentab on Thursday August 18, 2022 @02:58PM (#32513512)
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.

Re:Ask HN: Why are we not using debuggers more? by Taikonerd on Thursday August 18, 2022 @03:11PM (#32513667)
That's a really interesting idea! I'm going to try that out later.

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

Re:Ask HN: Why are we not using debuggers more? by Matthias247 on Thursday August 18, 2022 @02:55PM (#32513489)
you could check if the debugger somehow can run over SSH. That would alleviate the need for opening more ports.