Closed Yajur-Grover closed 6 months ago
Related: microsoft/vscode#206581
Issue posted on the React Native Tools repo detailing direct debugging errors: https://github.com/microsoft/vscode-react-native/issues/2117
The docs show what you need to set to make it work, not necessarily what (incorrect) config got generated.
Page url
https://microsoft.github.io/react-native-windows/docs/debugging-javascript#direct-debugging
Problem Description
When setting up JavaScript direct debugging for VS Code (Hermes), the output in the
launch.json
file when adding a 'Node.js' or 'Node.js: Attach' configuration does not match the expected output in the documentation, as shown below:Node.js:
Node.js (Attach):
Expected output:
After adding the config, I just replaced it with what the expected config was according to the documentation, but not sure why there is a difference in output.