`if (typeof window.attachDebugger === 'function') {`