Nothing; mutates the global window
removeDebugApi();
// In the console: window.chempal // => undefined
export function removeDebugApi(): void {
if (!window.chempal) return;
delete window.chempal;
printDebug('ChemPal debug helpers removed');
}
Removes the helper API from
window, so leaving advanced mode takes the console surface with it. Safe to call when nothing is attached.