Is it possible to restart a Codespace that has crashed?

Hello :wave:

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:

2 Likes

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?

2 Likes

Oh that’s great, it works! :sparkles:

Super!

Thank you all for your excellent work :heart:
Hope to hear more about Codespaces in the next days.