A Chrome DevTools Extension for any OpenSumi based IDE. (see Demo)
| Web | Electron |
|---|---|
![]() | ![]() |
Currently OpenSumi DevTools focuses on messages capturing and presenting:
- RPC messages between frontend and backend
- IPC messages between Electron processes (Electron client only)
Users are allowed to:
- Toggle capturing
- Filter messages
- View parsed messages
- Check communication traffic
- Check network latency
IMPORTANT: The devtools supports must be enabled in OpenSumi first, otherwise this extension won't work!
Users can install OpenSumi DevTools either from Chrome webstore or from a local folder.
This way is easier and more recommended.
Web client
- Visit the extension in Chrome webstore and install it to your browser
- Open DevTools in your page and you will see it!
Electron client
- Install electron-devtools-installer to your project
- In your Electron app's entry point do similar things like below:
import{app,session}from'electron';importinstallExtensionfrom'electron-devtools-installer';import{ElectronMainApp}from'@opensumi/ide-core-electron-main';constelectronApp=newElectronMainApp({
...
});constOPENSUMI_DEVTOOLS_CHROME_WEBSTORE_ID='ombdblngipgeakodomcednfdiabohmgl';electronApp.init().then(()=>{
...
app.whenReady().then(()=>{installExtension(OPENSUMI_DEVTOOLS_CHROME_WEBSTORE_ID);});});- Open DevTools in your app and you will see it!
In the following way, users can install other versions of OpenSumi DevTools except for the one that published in Chrome webstore.
Web client
- Download
opensumi-devtools-vx.x.x.zipfrom releases - Unzip it and get a folder
- Vist chrome extensions page and check "Developer mode"
- Click "Load unpacked extension" and select the folder
- Open DevTools in your page and you will see it!
Electron client
- Download
opensumi-devtools-vx.x.x.zipfrom releases - Unzip it and get a folder
- In your Electron app's entry point do similar things like below:
import{app,session}from'electron';import{ElectronMainApp}from'@opensumi/ide-core-electron-main';constelectronApp=newElectronMainApp({
...
});electronApp.init().then(()=>{
...
constopensumiDevtoolsPath='your unpacked folder path';session.defaultSession.loadExtension(opensumiDevtoolsPath);});- Open DevTools in your app and you will see it!
Please read CONTRIBUTING if you are new here or not familiar with the basic rules of Git/GitHub world.
git clonethis repositorycdinto this repositoryyarn installyarn run startLoad the freshly built unpacked extension on Chrome following:
Access chrome://extensions/
Check "Developer mode"
Click on "Load unpacked extension"
Select the "build" folder under the project root directory
Keep "service worker" DevTools page open (why?)
Happy hacking!
If you are interested in the early developing phase of this devtools, you can visit this issue and this branch.

