mirror of
https://github.com/ChromeDevTools/chrome-devtools-mcp.git
synced 2026-09-14 19:45:30 +08:00
fix: toggle lazy loading for source maps. (#2486)
This commit is contained in:
@@ -150,6 +150,11 @@ export async function createTargetUniverse(
|
||||
supportsEmulation: false,
|
||||
});
|
||||
|
||||
const setting = universe.settings.resolve(
|
||||
DevTools.SourceMapManager.lazyLoadingSettingDescriptor,
|
||||
);
|
||||
setting.set(true);
|
||||
|
||||
// @ts-expect-error devtools-frontend has diffrent types.
|
||||
const connection = new DevTools.PuppeteerDevToolsConnection(session);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user