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
F2135370: D8369.diff
Fri, Jun 28, 11:02 AM
Unknown Object (File)
Tue, Jun 18, 8:23 PM
Unknown Object (File)
Tue, Jun 18, 3:17 AM
Unknown Object (File)
Tue, Jun 18, 3:17 AM
Unknown Object (File)
Tue, Jun 18, 3:17 AM
Unknown Object (File)
Tue, Jun 18, 3:17 AM
Unknown Object (File)
Tue, Jun 18, 3:15 AM
Unknown Object (File)
Thu, Jun 13, 11:31 PM
Subscribers

Details

Summary

Helps debugging sqlite.

Test Plan

Check if button works

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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