Ask questionsRemote native debugging Playground with web debugging doesn't work anymore

We added some support for remote debugging the Playground app, see:

However this technique doesn't work anymore. I debugged this and found two issues:

  1. The privateNetworkClientServer capability isn't turned on in Package.appxmanifest
  2. The client code is failing to connect due to using localhost:8081. It looks like we're missing the plumbing code that was originally added to HostingPane, which is no longer being used in Playground.

We should find a way to re-enable this. We should also think about how to enable remote debugging for CLI apps when we fix this - ideally whatever we do would also work for template apps.


Answer questions nasadigital

The PR only fixes remote debugging in the Playground app and doesn't address remote debugging with CLI or with Visual Studio for the template apps, so I'm reopening the issue.


Related questions

Error while executing command: react-native.cmd run-windows --proxy --no-packager hot 2
Touchable* doesn't fire onFocus event hot 1
missing measureInWindow - react-native-windows hot 1
RNW adding new npm package breaks vs 2017 sln and forces reinstall from scratch not .net but i cant delete the label hot 1
react-native run-windows command is failing at build step hot 1
"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Microsoft\WindowsXaml\v15.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. hot 1
Cannot compile after upgraded to VS2019 v16.2 hot 1
TypeError: CameraManager.takePicture is not a function: on Windows UWP hot 1
react-native-windows interop with WinUI 3.0 hot 1
Unrecognized Command "windows" - react-native-windows hot 1
TypeError: Cannot read property 'toString' of null hot 1
Unable to resolve 'ChakraBridge' for UAP,Version=v10.0.10240 when running "react-native run-windows" hot 1
TypeError: CameraManager.takePicture is not a function: on Windows UWP hot 1
Github User Rank List