-
Notifications
You must be signed in to change notification settings - Fork 1.1k
VS Remote Debugging
kmelmon edited this page Jun 4, 2020
·
4 revisions
Note: Work is in progress enabling this scenario! See: https://github.com/microsoft/react-native-windows/issues/5112
How to remote debug Playground
- On your dev machine, open packages/playground/windows/Playground.sln
- On your dev machine, Run the metro bundler by doing yarn start --host devMachineName
- On your target machine, run MSVSMon. This can be downloaded from here.
a. I haven’t been able to figure out authentication so once you run msvsmon, click on Options and select no authentication. - Right click on the Playground project, Properties, Debugging
a. Select Remote debugging, and enter the IP of the debug target
b. In the command line arguments textbox, enter devMachineName:8081
c. In the protocol dropdown, select no authentication - F5! This will build your playground app, and deploy to the target machine.
- On the target, press Load. This will communicate back to the dev machine bundler and launch the web debugger on the dev machine, and serve the pages back to the app running in the target.