UNPKG

@dcloudio/uni-debugger

Version:

uni-app debugger

261 lines (260 loc) 7.84 kB
{ "extensions": [ { "type": "view", "location": "panel", "id": "timeline", "title": "Performance", "order": 50, "className": "Timeline.TimelinePanel" }, { "type": "setting", "category": "Performance", "title": "Hide chrome frame in Layers view", "settingName": "frameViewerHideChromeWindow", "settingType": "boolean", "defaultValue": false }, { "type": "@Common.QueryParamHandler", "name": "loadTimelineFromURL", "className": "Timeline.LoadTimelineHandler" }, { "type": "context-menu-item", "location": "timelineMenu/open", "actionId": "timeline.load-from-file", "order": 10 }, { "type": "context-menu-item", "location": "timelineMenu/open", "actionId": "timeline.save-to-file", "order": 15 }, { "type": "action", "actionId": "timeline.toggle-recording", "iconClass": "largeicon-start-recording", "toggledIconClass": "largeicon-stop-recording", "toggleWithRedColor": true, "contextTypes": [ "Timeline.TimelinePanel" ], "className": "Timeline.TimelinePanel.ActionDelegate", "options": [ { "value": true, "title": "Record" }, { "value": false, "title": "Stop" } ], "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+E" }, { "platform": "mac", "shortcut": "Meta+E" } ] }, { "type": "action", "actionId": "timeline.record-reload", "iconClass": "largeicon-refresh", "contextTypes": [ "Timeline.TimelinePanel" ], "category": "Performance", "title": "Start profiling and reload page", "className": "Timeline.TimelinePanel.ActionDelegate", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+Shift+E" }, { "platform": "mac", "shortcut": "Meta+Shift+E" } ] }, { "type": "action", "category": "Timeline", "actionId": "timeline.save-to-file", "contextTypes": [ "Timeline.TimelinePanel" ], "className": "Timeline.TimelinePanel.ActionDelegate", "title": "Save profile\u2026", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+S" }, { "platform": "mac", "shortcut": "Meta+S" } ] }, { "type": "action", "category": "Timeline", "actionId": "timeline.load-from-file", "contextTypes": [ "Timeline.TimelinePanel" ], "className": "Timeline.TimelinePanel.ActionDelegate", "title": "Load profile\u2026", "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+O" }, { "platform": "mac", "shortcut": "Meta+O" } ] }, { "type": "action", "actionId": "timeline.jump-to-previous-frame", "contextTypes": [ "Timeline.TimelinePanel" ], "className": "Timeline.TimelinePanel.ActionDelegate", "bindings": [ { "shortcut": "[" } ] }, { "type": "action", "actionId": "timeline.jump-to-next-frame", "contextTypes": [ "Timeline.TimelinePanel" ], "className": "Timeline.TimelinePanel.ActionDelegate", "bindings": [ { "shortcut": "]" } ] }, { "type": "action", "actionId": "timeline.show-history", "className": "Timeline.TimelinePanel.ActionDelegate", "category": "Performance", "title": "Show recent timeline sessions", "contextTypes": [ "Timeline.TimelinePanel" ], "bindings": [ { "platform": "windows,linux", "shortcut": "Ctrl+H" }, { "platform": "mac", "shortcut": "Meta+Y" } ] }, { "type": "view", "location": "panel", "id": "js_profiler", "title": "JavaScript Profiler", "persistence": "closeable", "order": 65, "className": "Profiler.JSProfilerPanel" }, { "type": "action", "actionId": "timeline.previous-recording", "className": "Timeline.TimelinePanel.ActionDelegate", "contextTypes": [ "Timeline.TimelinePanel" ], "bindings": [ { "platform": "windows,linux", "shortcut": "Alt+Left" }, { "platform": "mac", "shortcut": "Meta+Left" } ] }, { "type": "action", "actionId": "timeline.next-recording", "className": "Timeline.TimelinePanel.ActionDelegate", "contextTypes": [ "Timeline.TimelinePanel" ], "bindings": [ { "platform": "windows,linux", "shortcut": "Alt+Right" }, { "platform": "mac", "shortcut": "Meta+Right" } ] } ], "dependencies": [ "browser_components", "layer_viewer", "timeline_model", "perf_ui", "extensions", "data_grid", "product_registry", "profiler", "mobile_throttling" ], "scripts": [ "CountersGraph.js", "ExtensionTracingSession.js", "PerformanceModel.js", "TimelineController.js", "TimelineDetailsView.js", "TimelineLoader.js", "TimelineEventOverview.js", "TimelineFilters.js", "TimelineFlameChartDataProvider.js", "TimelineFlameChartNetworkDataProvider.js", "TimelineFlameChartView.js", "TimelineHistoryManager.js", "TimelineTreeView.js", "EventsTimelineTreeView.js", "TimelineUIUtils.js", "TimelineLayersView.js", "TimelinePaintProfilerView.js", "TimelinePanel.js" ], "resources": [ "historyToolbarButton.css", "invalidationsTree.css", "timelineFlamechartPopover.css", "timelineHistoryManager.css", "timelinePanel.css", "timelinePaintProfiler.css", "timelineStatusDialog.css" ] }