Debug functions to TS issues with starting Emacs

Debug functions to use when troubleshooting your config, or when you want to start a separate Emacs instance
Same question here.