Alexander Mills
Alexander Mills

Reputation: 100000

Auto open Chrome Dev Tools for new tab

I have this code for a Chrome Extension

chrome.tabs.create({url: chrome.extension.getURL('dist/index.html')});

is there an option I can add to this call, so that Dev Tools is automatically opened when the tab is created?

looks like there is a command line flag for a Chrome for a new window:

--auto-open-devtools-for-tabs

but not sure if this applies for single tabs

Upvotes: 2

Views: 4482

Answers (1)

Sergii Rudenko
Sergii Rudenko

Reputation: 2684

The is no way to do this now, and unlikely will ever become possible.

It seems like it was experimental API few years ago, but now it's removed.

For more information check this question.

Upvotes: 3

Related Questions