diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index 17c97f02dbba..a8989d579e93 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -70,6 +70,11 @@ export const create: Task['run'] = async ( const mainConfig = await readMainConfig({ cwd }); + // Enable or disable Storybook features + mainConfig.setFieldValue(['features'], { + interactionsDebugger: true, + }); + mainConfig.setFieldValue(['core', 'disableTelemetry'], true); if (template.expected.builder === '@storybook/builder-vite') setSandboxViteFinal(mainConfig); await writeConfig(mainConfig);