You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kmelmon edited this page Feb 8, 2020
·
5 revisions
"Direct Debugging" allows you to debug JS while it's running directly in the client (as opposed to in the web debugger).
To set this up, you need to make a few code changes in your native code to configure direct debugging:
-In the app code that creates and sets DevSettings, you'll need to turn these settings on:
devSettings->useDirectDebugger = true;
devSettings->debuggerBreakOnNextLine = true;
devSettings->debuggerPort = 9229;
-In VS Code add a configuration like this:
{
"type": "node",
"request": "attach",
"name": "Attach to ReactTest direct debugger",
"protocol": "inspector",
"port": 9229
}