Is it possible to restart a Codespace that has crashed? #26844
-
Hello 👋 I was working on a C project, and I ruined the program with an infinite loop… now I can’t access the Codespace anymore. I wish I could get it back since I hadn’t pushed my changes yet… Is there an existing solution (e.g. rebooting the remote server?) or do I need to recreate a new Codespace and forget the old one? Here is the VSCode error: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey! We don’t currently expose a UI gesture to suspend a Codespace, but that is coming soon. In the meantime, the Codespace will auto-suspend itself after 30 minutes of inactivity. And so if you wait a bit and then try to reconnect, that should hopefully unblock you. Could you try that and let us know? |
Beta Was this translation helpful? Give feedback.
-
Oh that’s great, it works! ✨
lostintangent:
Super! Thank you all for your excellent work ❤️ |
Beta Was this translation helpful? Give feedback.
Hey! We don’t currently expose a UI gesture to suspend a Codespace, but that is coming soon. In the meantime, the Codespace will auto-suspend itself after 30 minutes of inactivity. And so if you wait a bit and then try to reconnect, that should hopefully unblock you. Could you try that and let us know?