I have On Startup: Remember open scripts checked in Preferences.
However, the open scripts are not remembered after restart: no scripts are open in SD after restart (even if the Mac was restarted while SD was running with open scripts).
There’s no issue when relaunching SD: it does remember open scripts after relaunch.
Thanks for the bug report. We’ll look into it and see if we can sort this out for an upcoming maintenance release.
I suspect that when you restart your machine, macOS is causing Script Debugger to shutdown in a way we’ve not tested for and the app’s preferences are not properly being flushed to disk. As you’ll imagine, this is a difficult scenario to debug.