SAFE-Nightwatch icon indicating copy to clipboard operation
SAFE-Nightwatch copied to clipboard

How can I debug your app while it's running on an Android device

Open fkhosrow opened this issue 7 years ago • 3 comments

Hello,

I am not clear how to set breakpoints and debug your app in Visual Studio Code while running it on an Android device? I am developing Bluetooth functionality and have to test it on a real Android device. I would like to step through F# and JavaScript code if possible. My development env is Windows. Any help in this area helps.

Thanks for all your help, Farnaz

fkhosrow avatar Mar 04 '18 18:03 fkhosrow

I know you can debug a RN app in Chrome, but I'm not sure how to do that in VS Code. Maybe @forki tried that?

alfonsogarciacaro avatar Mar 05 '18 16:03 alfonsogarciacaro

I was using Chrome. But usually I'm only looking at the elmish messages

Am 05.03.2018 17:41 schrieb "Alfonso Garcia-Caro" <[email protected]

:

I know you can debug a RN app in Chrome, but I'm not sure how to do that in VS Code. Maybe @forki https://github.com/forki tried that?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SAFE-Stack/SAFE-Nightwatch/issues/48#issuecomment-370481537, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNGe45zeg_kqlR4krqNiYKZhjUTVmks5tbWrHgaJpZM4Sbcmd .

forki avatar Mar 06 '18 06:03 forki

There was a PR to make VS code debugging available in Fable web templates. Not sure if it can help here as well: https://github.com/fable-compiler/fable-templates/pull/8

alfonsogarciacaro avatar Mar 06 '18 10:03 alfonsogarciacaro