Skip to content

Instantly share code, notes, and snippets.

@farolanf
Last active March 9, 2023 14:40
Show Gist options
  • Save farolanf/be51fc1fa4bd468767cb294ad40cfecb to your computer and use it in GitHub Desktop.
Save farolanf/be51fc1fa4bd468767cb294ad40cfecb to your computer and use it in GitHub Desktop.
VSCode flutter on remote machine

launch.json

 "configurations": [
   {
     ...
     "request": "launch",
     "type": "dart",
     "args": ["--host-vmservice-port", "65001", "--dds-port", "65002"]

VM

socat tcp-listen:65001,reuseaddr,fork tcp:<emulator-host>:65001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment