-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native support #117
Comments
Yes, we have to create the corresponding register methods for dap-mode. |
I checked the react native debug adapter, and it seems like it is straight forward to configure it following dap-chrome.el/dap-firefox.el/dap-node.el as an example. So if you wanna give it a try you may ping me here or in gitter. Otherwise, I will try to implement it next week when I have time window. |
I can give it a try. I'll try adding a |
I started working on that on #118 |
Is this still feasible with the newer React Native architecture and the latest React Native DevTools? I have been scratching my head around setting this up today. Here is my setup
So far I had no luck and keeps getting this (even if I set it up to run with Brave.)
Also nothing come out in the log buffer. |
Is it possible to debug React Native projects?
I tried creating a new
react-native
project:And I registered the following debug template:
When I execute
dap-debug
, Chrome launches correctly, the mobile app connects correctly to the debugger (on Chrome it saysDebuger session #0 active
), I see the Chrome session ondap-ui-sessions
and I see theout
window which correctly mirrors Chrome's console, but breakpoints remain in inactive state and they don't get hit.I guess this configuration is never going to work and we need instead a
dap-react-native
which uses the https://github.com/microsoft/vscode-react-native extension or https://github.com/jhen0409/react-native-debugger?The official react-native docs Debugging · React Native mention something about
using a custom javascript debugger
, but I guess it should be possible to usedap-mode
with Chrome?The text was updated successfully, but these errors were encountered: