News for hackers. Stuff that matters.
Re:Ask HN: Best practices for editing remote code locally? by blowfish721 on Monday April 11, 2022 @12:02PM (#30990690)
How does it handle disconnects? With two kids and lots of interruptions my laptop is going to sleep a lot if I don’t have it plugged in between sessions, does it reconnect everything automatically so you wouldn’t notice it much?
Re:Ask HN: Best practices for editing remote code locally? by barefeg on Monday April 11, 2022 @02:02PM (#30992499)
Make sure to add TCPKeepAlive yes into your ssh config so the ssh doesn’t disconnect. Vscode will disconnect but then it’s just a matter of clicking retry
Re:Ask HN: Best practices for editing remote code locally? by baq on Monday April 11, 2022 @01:03PM (#30991736)
depends on length of the disconnect. it can be seamless and if it fails, it asks you to reload itself, conveniently placing a button to do just that in the same dialog window.