Google is committed to advancing racial equity for Black communities. See how.

fx dart-tunnel

forward local ports to Dart VMs on the device.

usage: fx dart-tunnel  [-h|--help] [-v|--verbose] [<isolate>]

Creates an SSH tunnel with the device's running Dart VM(s) and leaves it open
until the user chooses to close it. Supplying an Isolate name will attempt to
connect to all isolates whose name match.

The verbose flag is strongly discouraged unless you are debugging.

This command requires:
  > Ommitting `--release` from `fx set`
      (Observatory isn't available in --release builds).

  > "bundles/tools" to be available on the system (for the `find` command).

  -h|--help    Print out this message.

dart-tunnel source code