Skip to content

Commit 89ff851

Browse files
committed
chore: udpate launch task
1 parent d331a68 commit 89ff851

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

frontend/app_flowy/.vscode/launch.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,30 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "app_flowy",
8+
// This task builds the Rust and Dart code of AppFlowy.
9+
"name": "Build",
910
"request": "launch",
1011
"program": "${workspaceRoot}/lib/main.dart",
11-
"type": "dart",
1212
"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",
1325
"env": {
1426
"RUST_LOG": "debug"
1527
},
1628
"cwd": "${workspaceRoot}"
1729
},
1830
{
19-
"name": "app_flowy(trace)",
31+
"name": "Build (trace log)",
2032
"request": "launch",
2133
"program": "${workspaceRoot}/lib/main.dart",
2234
"type": "dart",
@@ -27,7 +39,7 @@
2739
"cwd": "${workspaceRoot}"
2840
},
2941
{
30-
"name": "app_flowy (profile mode)",
42+
"name": "Build (profile mode)",
3143
"request": "launch",
3244
"type": "dart",
3345
"flutterMode": "profile"

0 commit comments

Comments
 (0)