

npx react-native init -template react- 0.62. Remember to call react-native init from the place you want your project directory to live. If you're looking to build directly from the repo or you want to make contributions to the react-native-windows, check out the guide for building the react-native-windows repo.įor information around how to set up React Native, see the React Native Getting Started Guide. Make sure you have installed all of the development dependencies. When Jest executes the test that contains the debugger statement, execution will pause and you can examine the current scope and call stack.This guide will help you get started on setting up your very first React Native for Windows app. Click the button that looks like a "play" button in the upper right hand side of the screen to continue execution. The Chrome Developer Tools will be displayed, and a breakpoint will be set at the first line of the Jest CLI script (this is done to give you time to open the developer tools and to prevent Jest from executing before you have time to do so). Click on the address displayed in the terminal (usually something like localhost:9229) after running the above command, and you will be able to debug Jest using Chrome's DevTools. To debug in Google Chrome (or any Chromium-based browser), open your browser and go to chrome://inspect and click on "Open Dedicated DevTools for Node", which will give you a list of available node instances you can connect to. Note that the process will pause until the debugger has connected to it. This will run Jest in a Node process that an external debugger can connect to.
