Debug with breakpoint #1816
-
As per limitation of Reanimated-2 debugging is not an option unless we use Flipper but Flipper doesn't support breakpoint in JS code. Is there any way we can use Reanimated-2 and use breakpoints in JS code? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Why does Flipper not support JS breakpoints? I haven't tried it yet, but I was under the impression that that was already working fine 🤔 (with latest flipper 0.81 & Hermes) |
Beta Was this translation helpful? Give feedback.
-
I think you should be able to debug js code with breakpoints if you attach to hermes directly. https://reactnative.dev/docs/hermes#debugging-js-on-hermes-using-google-chromes-devtools You can track progress on Hermes debugging here: microsoft/vscode-react-native#1266 You can also attach to the JSC process using Safari too. Also, you can attach to the Reanimated worklets context using Safari too. |
Beta Was this translation helpful? Give feedback.
I think you should be able to debug js code with breakpoints if you attach to hermes directly.
https://reactnative.dev/docs/hermes#debugging-js-on-hermes-using-google-chromes-devtools
You can track progress on Hermes debugging here: microsoft/vscode-react-native#1266
You can also attach to the JSC process using Safari too. Also, you can attach to the Reanimated worklets context using Safari too.