GuidesAPI Reference
API Reference

connect(options)

This method connects Mimic with remote UI

You can connect Mimic to a remote UI url if you wish to run the UI on a separate browser tab.

Please see Remote Debugger Guide on how to use this feature.

Option nameOption value
hostnameHost to connect to (defaults to localhost)
portPort to connect to (defaults to 5000)
import connect from 'mimic/remote';

connect();

// or alternatively you can specify the connection options
connect({ hostname: 'localhost', port: 5000 });