Remote Debugger is in a Background Tab which may cause apps to perform Slowly React Native

Remove debugging is one of the best way to test the react native app for error. In react native when we start debugging the app for first time by starting the Chrome then we would see an error in our react native app known as “Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab or opening in a separate window.” This would make us thing maybe we be doing something wrong and why this error is coming in our app. So guys don’t worry its the react native system which is telling us that we are debugging our app and our app will be running slowly on the debugging time. Its their way of notifying us. So in this tutorial we would learn about removing the Remote Debugger is in a Background Tab error of our react native android iOS project. So let’s get started .

Screenshot of the error :-

Remote Debugger is in a Background Tab which may cause apps to perform Slowly React NativeContents in this project Remote Debugger is in a Background Tab which may cause apps to perform Slowly React Native:-

1. Open your project’s main App.js file and import LogBox component. The LogBox component is used to hide all the notification errors that dose notify us but did not interrupt our app or coding experience.

2. In our main export default App component import the below line of code to remove debugger error.

3. Complete Source Code for App.js file:

Screenshot: