Page MenuHomePhabricator

[desktop] add option to toggle shared worker dev dev-tools
ClosedPublic

Authored by kamil on Jun 29 2023, 6:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 1:58 PM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:02 PM
Unknown Object (File)
Sat, Dec 14, 4:01 PM
Unknown Object (File)
Sat, Dec 14, 3:54 PM
Unknown Object (File)
Nov 23 2024, 12:45 PM
Unknown Object (File)
Nov 23 2024, 7:09 AM
Subscribers

Details

Summary

Helps debugging sqlite.

Test Plan

Check if button works

Diff Detail

Repository
rCOMM Comm
Branch
dev-tools
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jun 29 2023, 6:34 AM

I suspect this is going to throw an error if you close the window without closing the whole app (macOS-style) and run the new menu option. You could probably use the global mainWindow for inspectSharedWorker (with a check if it exists) instead.

desktop/src/main.js
65 ↗(On Diff #28253)

We show the normal dev tools unconditionally, so I think we can also do that for release. It might help with debugging

This revision is now accepted and ready to land.Jul 3 2023, 4:23 AM