launch.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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": "app_flowy",
  9. "request": "launch",
  10. "program": "${workspaceRoot}/lib/main.dart",
  11. "type": "dart",
  12. "preLaunchTask": "build_flowy_sdk",
  13. "env":{
  14. "RUST_LOG":"info",
  15. "INTEGRATION_ENV":"develop",
  16. },
  17. "cwd": "${workspaceRoot}"
  18. },
  19. {
  20. "name": "app_flowy(trace)",
  21. "request": "launch",
  22. "program": "${workspaceRoot}/lib/main.dart",
  23. "type": "dart",
  24. "preLaunchTask": "build_flowy_sdk",
  25. "env":{
  26. "RUST_LOG":"trace",
  27. "INTEGRATION_ENV":"develop",
  28. },
  29. "cwd": "${workspaceRoot}"
  30. },
  31. {
  32. "name": "app_flowy (profile mode)",
  33. "request": "launch",
  34. "type": "dart",
  35. "flutterMode": "profile"
  36. },
  37. {
  38. "name": "Generate Language Files",
  39. "request": "launch",
  40. "program": "${workspaceRoot}/lib/main.dart",
  41. "type": "dart",
  42. "preLaunchTask": "Generate Language Files",
  43. "cwd": "${workspaceRoot}"
  44. },
  45. ]
  46. }