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

How do we debug in VSCode?

Open ctaggart opened this issue 6 years ago • 4 comments

Somewhat related to #22 & #48, I'm trying to figure out how to debug the application from Visual Studio Code. It looks like it should be possible using the React Native Tools extension.. The .vscode/launch.json makes me think that this may be working for someone.

ctaggart avatar Mar 21 '18 17:03 ctaggart

I'm personally only looking into elmish logs. But @et1975 got debugger working for his project

forki avatar Mar 21 '18 17:03 forki

The only debugger I was interested hooking up into was Remote DevTools, but I vaguely recall that the Chrome debugger that RN integrates with works via VSCode as well if you line up all the versions just right (RN plugin for VSCode comes with its own packager, which needs specific version of RN, etc).

et1975 avatar Mar 21 '18 18:03 et1975

Here is a video describing what I'm wanting to do: https://youtu.be/CmEmDJx3FTk

I'll ask the React Native Tools guys for help in troubleshooting. https://github.com/Microsoft/vscode-react-native/issues/670

ctaggart avatar Mar 21 '18 18:03 ctaggart

Anything new on this? I also tried today and was not able to do it.

thitemple avatar Jun 25 '18 23:06 thitemple