launch.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. // This task builds the Rust and Dart code of AppFlowy.
  9. "name": "Build",
  10. "request": "launch",
  11. "program": "${workspaceRoot}/lib/main.dart",
  12. "preLaunchTask": "build_flowy_sdk",
  13. "type": "dart",
  14. "env": {
  15. "RUST_LOG": "debug"
  16. },
  17. "cwd": "${workspaceRoot}"
  18. },
  19. {
  20. // This task only build the Dart code of AppFlowy.
  21. "name": "Build (Dart)",
  22. "request": "launch",
  23. "program": "${workspaceRoot}/lib/main.dart",
  24. "type": "dart",
  25. "env": {
  26. "RUST_LOG": "debug"
  27. },
  28. "cwd": "${workspaceRoot}"
  29. },
  30. {
  31. "name": "Build (trace log)",
  32. "request": "launch",
  33. "program": "${workspaceRoot}/lib/main.dart",
  34. "type": "dart",
  35. "preLaunchTask": "build_flowy_sdk",
  36. "env": {
  37. "RUST_LOG": "trace"
  38. },
  39. "cwd": "${workspaceRoot}"
  40. },
  41. {
  42. "name": "Build (profile mode)",
  43. "request": "launch",
  44. "type": "dart",
  45. "flutterMode": "profile"
  46. },
  47. ]
  48. }