lucashilles / flutter-dev-container

Flutter dev container for VS Code Remote Development
MIT License
79 stars 33 forks source link

My Flutter Web Configuration #6

Closed edufolly closed 4 years ago

edufolly commented 4 years ago

Force the deviceId to web-server.

    "configurations": [
        {
            "name": "Flutter Web",
            "type": "dart",
            "request": "launch",
            "program": "lib/main.dart",
            // Setting for fixed web server port
            "deviceId": "web-server",
            "args": [
                "--web-port",
                "8000"
            ],
        },
    ]
lucashilles commented 4 years ago

Fixed with this commit.