In custom dev client, Remote JS debugging fails and just crashes with a short error message.

I don’t have a reproducible example but I’m only using react native fast image as a native module for my custom dev client. The error I get is as follows

No souce url loaded, have you initialized the instance?

assertNotNull
Assertions.java
and some more