debugging(ui): add optional debugRainbow setting (#25088)

This commit is contained in:
Jacob Richman
2026-04-09 19:42:21 -07:00
committed by GitHub
parent e09410b6e5
commit 43b93e9e1b
4 changed files with 24 additions and 0 deletions

View File

@@ -439,6 +439,16 @@ const SETTINGS_SCHEMA = {
description: 'User interface settings.',
showInDialog: false,
properties: {
debugRainbow: {
type: 'boolean',
label: 'Debug Rainbow',
category: 'UI',
requiresRestart: true,
default: false,
description:
'Enable debug rainbow rendering. Only useful for debugging rendering bugs and performance issues.',
showInDialog: false,
},
theme: {
type: 'string',
label: 'Theme',

View File

@@ -163,6 +163,7 @@ export async function startInteractiveUI(
settings.merged.ui.incrementalRendering !== false &&
useAlternateBuffer &&
!isShpool,
debugRainbow: settings.merged.ui.debugRainbow === true,
},
);