launch.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. // 使用 IntelliSense 了解相关属性。
  3. // 悬停以查看现有属性的描述。
  4. // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Flyinsono",
  9. "request": "launch",
  10. "type": "dart",
  11. "program": "lib/main.dart",
  12. "args": ["--web-port=8080", "--web-hostname=127.0.0.1"]
  13. },
  14. {
  15. "name": "测量启动时间",
  16. "request": "launch",
  17. "type": "dart",
  18. "program": "lib/main.dart",
  19. "args": [
  20. "--trace-startup",
  21. "--profile",
  22. "--web-port=8080",
  23. "--web-hostname=127.0.0.1",
  24. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=\"/canvaskit/\""
  25. ]
  26. },
  27. {
  28. "name": "Detail Mode",
  29. "request": "launch",
  30. "type": "dart",
  31. "program": "lib/main.dart",
  32. "args": [
  33. "-v",
  34. "--web-port=8080",
  35. "--web-hostname=127.0.0.1",
  36. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=\"/canvaskit/\""
  37. ]
  38. },
  39. {
  40. "name": "Release Mode",
  41. "request": "launch",
  42. "type": "dart",
  43. "program": "lib/main.dart",
  44. "args": [
  45. "--web-port=8080",
  46. "--web-hostname=127.0.0.1",
  47. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=./canvaskit/",
  48. "--release"
  49. ]
  50. },
  51. {
  52. "name": "Flyinsono Lab",
  53. "request": "launch",
  54. "type": "dart",
  55. "program": "lib/main.dart",
  56. "args": [
  57. "--web-port=8080",
  58. "--web-hostname=127.0.0.1",
  59. "--target=lib/lab/main.dart"
  60. ]
  61. },
  62. {
  63. "name": "Flyinsono Lab Release Mode",
  64. "request": "launch",
  65. "type": "dart",
  66. "program": "lib/main.dart",
  67. "args": [
  68. "--web-port=8080",
  69. "--web-hostname=127.0.0.1",
  70. "--dart-define=FLUTTER_WEB_CANVASKIT_URL=./canvaskit/",
  71. "--release",
  72. "--target=lib/lab/main.dart"
  73. ]
  74. }
  75. ]
  76. }