sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
408 stars 43 forks source link

VSCode doesn't recognize elinux devices #233

Closed snailtomatoes closed 7 months ago

snailtomatoes commented 7 months ago

I'm using flutter-elinux v3.16.1

While on VSCode i'm not able to see the eLinux devices as targets.

immagine

Also while on the Wiki is specified that flutter-elinux can generate the launch.json I can't see an obvious way to do so.

HidenoriMatsubayashi commented 7 months ago

While on VSCode i'm not able to see the eLinux devices as targets.

Unfortunately, there is no way to do that without changing flutter vscode extension code. We don't plan to support it.

Also while on the Wiki is specified that flutter-elinux can generate the launch.json I can't see an obvious way to do so.

You should be able to find it in vscode/launch.json

$ cat .vscode/launch.json 
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "flutter-elinux: Attach",
            "request": "attach",
            "type": "dart",
            "deviceId": "flutter-tester",
            "cwd": "${workspaceFolder}",
            "vmServiceUri": "http://127.0.0.1:42587/b232qAcE8gY=/"
        }
    ]

Thank you. Closing.