How to add extension to devtools-frontend?

85 views
Skip to first unread message

Siqi Zhong

unread,
Mar 19, 2018, 12:25:24 PM3/19/18
to Chrome DevTools
Hi folks,
I'm new to the Chrome devtools-frontend project. I'd like to host devtools-frontend on my server with react devtool plugin installed . Is there any docs on how to add devtool extension (such as react devtool/vue devtool) to the devtools-frontend project?

I found some extension initialization related code in https://github.com/ChromeDevTools/devtools-frontend/blob/master/front_end/extensions/ExtensionServer.js. But I don't know how to implement the self.InspectorExtensionRegistry.getExtensionsAsync(); method as the getExtensionsAsync method of ExtensionRegistryStub.js is empty.

Any guide appreciated.

Many Thanks,
Siqi
Reply all
Reply to author
Forward
0 new messages