Hopefully addresses "Device 1 is not a termcap terminal device" errors, due to core-cli changing `debugger`. core-cli should never be loaded in an interactive session anyway. Possibly fixes #4849
Emacs27+