2022-02-15 02:10:47 +00:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
2022-06-10 01:38:20 +00:00
|
|
|
// This task builds the Rust and Dart code of AppFlowy.
|
|
|
|
"name": "AF: Build All",
|
2022-02-15 02:10:47 +00:00
|
|
|
"request": "launch",
|
|
|
|
"program": "./lib/main.dart",
|
|
|
|
"type": "dart",
|
2022-06-10 01:38:20 +00:00
|
|
|
"preLaunchTask": "AF: build_flowy_sdk",
|
2022-02-15 02:10:47 +00:00
|
|
|
"env":{
|
2022-04-12 03:13:35 +00:00
|
|
|
"RUST_LOG":"info"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
"cwd": "${workspaceRoot}/app_flowy"
|
|
|
|
},
|
|
|
|
{
|
2022-06-10 01:38:20 +00:00
|
|
|
// This task only builds the Dart code of AppFlowy.
|
|
|
|
"name": "AF: Build Dart Only",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceRoot}/lib/main.dart",
|
|
|
|
"type": "dart",
|
|
|
|
"env": {
|
|
|
|
"RUST_LOG": "debug"
|
|
|
|
},
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// This task builds will:
|
|
|
|
// - call the clean task,
|
|
|
|
// - rebuild all the generated Files (including freeze and language files)
|
|
|
|
// - rebuild the the Rust and Dart code of AppFlowy.
|
|
|
|
"name": "AF: Clean + Rebuild All",
|
2022-02-15 02:10:47 +00:00
|
|
|
"request": "launch",
|
|
|
|
"program": "./lib/main.dart",
|
|
|
|
"type": "dart",
|
2022-06-10 01:38:20 +00:00
|
|
|
"preLaunchTask": "AF: Clean + Rebuild All",
|
2022-02-15 02:10:47 +00:00
|
|
|
"env":{
|
2022-06-10 01:38:20 +00:00
|
|
|
"RUST_LOG":"info"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
"cwd": "${workspaceRoot}/app_flowy"
|
|
|
|
},
|
2022-06-10 01:38:20 +00:00
|
|
|
|
2022-02-15 02:10:47 +00:00
|
|
|
{
|
2022-06-10 01:38:20 +00:00
|
|
|
"name": "AF: Build All (rustlog: trace)",
|
2022-02-15 02:10:47 +00:00
|
|
|
"request": "launch",
|
2022-06-10 01:38:20 +00:00
|
|
|
"program": "./lib/main.dart",
|
2022-02-15 02:10:47 +00:00
|
|
|
"type": "dart",
|
2022-06-10 01:38:20 +00:00
|
|
|
"preLaunchTask": "AF: build_flowy_sdk",
|
|
|
|
"env":{
|
|
|
|
"RUST_LOG":"trace"
|
|
|
|
},
|
|
|
|
"cwd": "${workspaceRoot}/app_flowy"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 01:38:20 +00:00
|
|
|
"name": "AF: app_flowy (profile mode)",
|
2022-02-15 02:10:47 +00:00
|
|
|
"request": "launch",
|
|
|
|
"type": "dart",
|
2022-06-10 01:38:20 +00:00
|
|
|
"flutterMode": "profile"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
]
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|