chrome-devtools-frontend
Version:
Chrome DevTools UI
39 lines (32 loc) • 1.4 kB
text/typescript
// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as Common from '../common/common.js';
export const jsSourceMapsEnabledSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
name: 'js-source-maps-enabled',
type: Common.Settings.SettingType.BOOLEAN,
defaultValue: true,
storageType: Common.Settings.SettingStorageType.SYNCED,
};
export const cssSourceMapsEnabledSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
name: 'css-source-maps-enabled',
type: Common.Settings.SettingType.BOOLEAN,
defaultValue: true,
storageType: Common.Settings.SettingStorageType.SYNCED,
};
export const preserveConsoleLogSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
name: 'preserve-console-log',
type: Common.Settings.SettingType.BOOLEAN,
defaultValue: false,
storageType: Common.Settings.SettingStorageType.SYNCED,
};
export const pauseOnExceptionEnabledSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
name: 'pause-on-exception-enabled',
type: Common.Settings.SettingType.BOOLEAN,
defaultValue: false,
};
export const pauseOnCaughtExceptionSettingDescriptor: Common.Settings.SettingDescriptor<boolean> = {
name: 'pause-on-caught-exception',
type: Common.Settings.SettingType.BOOLEAN,
defaultValue: false,
};