setSourceURLs

open override fun setSourceURLs(deviceURL: String, remoteURL: String)

This API is used in situations where the JS bundle is being executed not on the device, but on a host machine. In that case, we must provide two source URLs for the JS bundle: One to be used on the device, and one to be used on the remote debugging machine.

Parameters

deviceURL

A source URL that is accessible from this device.

remoteURL

A source URL that is accessible from the remote machine executing the JS.