microsoft / react-native-windows-samples

A repository showcasing React Native samples and templates for Windows, macOS, and Surface Duo.
https://microsoft.github.io/react-native-windows/
MIT License
485 stars 199 forks source link

Document current known issues with hermes direct debugging #931

Closed jonthysell closed 8 months ago

jonthysell commented 8 months ago

Description

This PR adds some (hopefully temporary) warnings about issues with Hermes direct debugging.

Why

Our priority is standing up Hermes w/ Direct Debugging as default supported scenario, but we should keep users apprised of key known issues that they may encounter while this work is in progress.

Screenshots

N/A

Microsoft Reviewers: Open in CodeFlow
gabor-seres-sap commented 7 months ago

Hey @jonthysell , @chrisglein ,

I've attempted to follow these instructions: https://github.com/microsoft/react-native-windows-samples/blob/main/docs/debugging-javascript.md#using-visual-studio-hermes

in order to attach Visual Studio Enterprise (17.6.10) to RNW (0.71.37) Hermes.

Just some screenshots about the process:

image

image

image

I attach the verbose logs - \AppData\Local\Temp\visualstudio-js-debugger.txt - shortly I got error message about "Failed to launch debug adapter."

visualstudio-js-debugger.txt

.sln is not open.

Which component should I upgrade to make it work?

Thanks in advance.


UPDATE:

Same issue with 0.72.24

image

image

image

Unfortunately same issue with 0.73.9