showcase/shell-docs/src/content/docs/troubleshooting/inspector-dev-console.mdx
enableInspector controls the built-in Inspector in browser applications:
true or omitted: show it in development builds.false: hide it in development builds.The Inspector is never loaded or rendered in production builds or during
server-side rendering. This safety guard cannot be overridden by an explicit
true, and development hostnames are unrestricted.
import { CopilotKit } from "@copilotkit/react-core/v2";
<CopilotKit runtimeUrl="/api/copilotkit" enableInspector={false}>
{children}
</CopilotKit>;
Legacy showDevConsole values no longer control the Inspector. Use
enableInspector for Inspector visibility.
<CopilotKitProvider runtime-url="/api/copilotkit" :enable-inspector="false">
<App />
</CopilotKitProvider>
Vue's deprecated showDevConsole prop no longer controls the Inspector.
provideCopilotKit({
runtimeUrl: "/api/copilotkit",
enableInspector: false,
});
Angular has no showDevConsole alias. Configure the Inspector through
enableInspector on CopilotKitConfig.
The v1 compatibility component follows the same development-only
enableInspector behavior. Its deprecated showDevConsole?: boolean prop
controls error toasts and banners, not the Inspector.
Native iOS and Android applications do not have a built-in Inspector yet. The current Inspector is a DOM web component and is not included in the React Native dependency graph.
onError callback.