launch.json 933 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "fli_lib_basicstest",
  9. "request": "launch",
  10. "type": "dart",
  11. "program": "lib/main.dart",
  12. "args": [
  13. "--web-port=8080",
  14. "--web-hostname=127.0.0.1",
  15. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=\"/canvaskit/\""
  16. ]
  17. },
  18. {
  19. "name": "Release Mode",
  20. "request": "launch",
  21. "type": "dart",
  22. "program": "lib/main.dart",
  23. "args": [
  24. "--web-port=8080",
  25. "--web-hostname=127.0.0.1",
  26. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=./canvaskit/",
  27. "--release"
  28. ]
  29. }
  30. ]
  31. }