So long as its in a separate section plugins can save to the project file on the `project_save` signal, see project_organiser.
But debugger also should work from the user config when there is no project as well, so you are going to have to figure out how to do that, not sure any current plugins do, project_organiser just stops working when there is no project IIUC.