6

I am using VSCode ad my Flutter development IDE. It worked well until this afternoon. When I ran the project, Could not find an option named "web-server-debug-protocol"showed up. I have no idea what goes wrong. I googled "web-server-debug-protocol" and only found two links showed that it exists in the flutter_command.dart. Did anyone meet the similar problem? Any suggestions about that? Thanks!

enter image description here

UPDATE I solved this issue by upgrading my Flutter.

echo
  • 1,244
  • 1
  • 16
  • 40

4 Answers4

8

echo.

I reinstalled Flutter extension in VS Code and it worked properly.

good flutter life!

ankomoti
  • 81
  • 2
  • Thanks for the answer. I reinstalled Flutter extension too in the beginning, but it didn't work for me. I ended up upgrading Flutter then it works. – echo May 14 '20 at 18:25
5

For me restarting the VS Code did the Job.

nani
  • 183
  • 2
  • 15
3

Just restart VS code. It often happens when you switch between Flutter channels, but restart should fix it...

zlaayaa
  • 585
  • 2
  • 6
  • 25
0

I had the same problem, I just upgraded Flutter and it works.

Bashar ALAYAN
  • 19
  • 1
  • 5