src/vs/workbench/contrib/debug/browser/statusbarColorProvider.ts/isStatusbarInDebugMode
export function isStatusbarInDebugMode(state: State, session: IDebugSession | undefined): boolean {
	if (state === State.Inactive || state === State.Initializing || session?.isSimpleUI) {
		return false;
	}
	const isRunningWithoutDebug = session?.configuration?.noDebug;
	if (isRunningWithoutDebug) {
		return false;
	}

	return true;
}