DEBUG PANEL ONLY ALLOWS RESTART AND STOP OPERATIONS
My OS: Windows 10 Pro
inserted a break point in code at:
→ let x = 1;
In debug panel:
Choose “Attach to packager” and click green run button
OUTPUT window:
:
[Info] Packager started.
-----NOTE: I ran netstat and cannot determine what port Packager is running on
DEBUG CONSOLE window:
Attaching to the application
Starting debugger app worker.
Established a connection with the Proxy (Packager) to the React Native application
Mosh reloads AVD (so it must of been started prior)
So I stop debugger, run app → $npm start, then connect to AVD
On AVD I go to Dev Mode, and reload
looks like code stopped at breakpoint, BUT the debugger only allows Restart and Stop
Mosh’s debugger allows All Operations and the breakpoint is highlighted
…my npm start is still running (with the React Native Debugger tab open), so I close the tab and reload from AVD which launches a React Native Debugger tab again.
In debug panel:
I stop the debugger.
In the Console Window cntrl-C (stop native-react app)
I notice that the AVD getting a network communication error (As I would expect!)
I start the debugger
From AVD, I do a reload (see spinner), then get:
“Something went wrong.
Network response timed out”
Looks like I have “a chicken before the egg” problem here.