After IntelliJ IDEA froze and was killed from the task manager, all the Run/Debug Configurations disappeared. I have tried invalidating caches, reloading files from disk, synchronizing and restarting, but nothing helped.
After IntelliJ IDEA froze and was killed from the task manager, all the Run/Debug
Share
You can try to restore your Run configuration using the Local History feature of IntelliJ IDEA.
If you are using
.ideadirectory based format, then your configurations will reside inworkspace.xmlfile under.ideadirectory, invoke Local History dialog from the .idea directory right click menu in IDEA Project View, select the label some time before the crash and revert the old copy ofworkspace.xml.In case
.iprfile based format is used, your configurations will be stored in the<project>.iwsfile in the project root which you can restore in a similar way.If the configurations were Shared, they are stored in
.idea\runConfigurationsdirectory as separate XML files or in the<project>.iprfile (if old project format is used).If the Local history is blank and you are in Windows, try Restore previous versions right clicking the
workspace.xmlfile or the<project>.iwsone in Windows Explorer.