I am trying to to debug the react native app, If I don\'t try to debug JS remotely then everything is fine, but when I try to debug JS remotely I do get this error.
Close emulator.
Close node console which get opened after executing command react-native run-android.
Start emulator again.
Run project again.
Hope this help.