Step 1: Install VSCode extension React Native Tools. Close it! What I tried so far: Re Install React Native Tools Add Version in launch.json manually Re Install Stable: Preview: React Native Tools Preview. Note: This tutorial assumes you have the Chrome browser installed. Click on the bug tab in the left navigation toolbar in VSCode. Android version is here. Then come back to VSCode, open the Run tab again, choose Attach to … For React-based apps, React … The VSCode Debugger. The extension has a nightly version which is released on a daily basis at 9 PM PST on each day that changes occur. Debugging React Apps In Visual Studio Code By Pranav Manair Browser debugger or extension to the browser debugger is the usual way of debugging Javascript-based web applications and Javascript-based frameworks like React, Angular, etc. Here are four simple steps to setup react native debugging in VSCode. Click on the bug tab in the left navigation toolbar in VSCode. Now click on the gear icon next to the drop-down at the top of the debug window. Unfortunately, we cannot build and run iOS apps, as they do require a MacOS (or, to better say, a OSX machine). Now let’s add a debugger configuration for React Native iOS. Now let's add a debugger configuration for React Native iOS. TLDR - For an Create React App application, install the Debugger for Chrome extension, create a debug configuration in VS Code, and then run in debug mode. Launch.json file. So let’s have a look at how to configure VSCode to debug our React app. Have another debugger listen on the debugger port, I had React Native Debugger listening on debugger port. Now click on the gear icon next to the drop-down at the top of the debug window. Photo By Émile Perron from Unsplash. Start packager either via Vscode or externally, but do not attach to packager. Open Vscode and React Native project. Another Chrome window will be open (default React Native Debugger). There are also debugger extensions for the Edge and Firefox browsers. To debug the client side React code, we'll need to install the Debugger for Chrome extension. Step 2: Create Launch.json for debugging configuration file creation. I´m facing an Issue where I don´t see React Native as Option for a new Configuration in launch.json. React Native Tools. Configure VSCode. First, install the extension “React Native Tools” from the extensions tab in VSCode. Now let’s add a debugger configuration for React Native iOS. Debugging React. React native debugging # Once you install the react-native-tools extension, you can start debugging your react native application. To avoid conflicts, if both extensions are installed - the only stable version will be activated. For this, first, you need to add the configuration settings for the debugger. Click on the bug tab in the left navigation toolbar in VSCode. In New VSCode Try to launch Vscode RN debugger. Install React Native (and its dependencies) The first thing we need to do is to install React Native framework on our system, together with all its required dependencies to build and run Android apps. Now click on the gear icon next to the drop-down at the top of the debug window. This will open up a JSON file where the different debug settings can be configured. Learn VS Code If you're interested in learning more about VS Code, you definitely want to check out the upcoming Learn VS Code course. Using the built in debugger can spare you a lot of switching between windows, because you can just step through your code while performing changes – all in the same place! This will open up a JSON file where the different debug settings can be configured.