Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dev-server] fix debugger pause from devtools startup (#21807)
# Why close ENG-7631 # How this is a side effect of #21265 where we enable full feature devtools. the `Debugger.pause` events are sent by devtools frontend: https://github.com/ChromeDevTools/devtools-frontend/blob/e0d743c4f184589db10fb1d276b87dbe90498077/front_end/entrypoints/inspector_main/InspectorMain.ts#L62-L97. we reached the `waitForDebuggerInPage===true` case and then devtools frontend calls `debuggerModel.pause()`. to skip the call path, we could either set `targetType=tab` or not set `panel=sources`. i am kinda afraid to change targetType which may cause other side effects, so to change the panel instead. with this pr, the initial devtools tab would be the "console" tab. # Test Plan bare-expo + devtools + sending js `fetch` call
- Loading branch information