mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: udpate launch task
This commit is contained in:
parent
d331a68bd1
commit
89ff8517fa
20
frontend/app_flowy/.vscode/launch.json
vendored
20
frontend/app_flowy/.vscode/launch.json
vendored
@ -5,18 +5,30 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "app_flowy",
|
// This task builds the Rust and Dart code of AppFlowy.
|
||||||
|
"name": "Build",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceRoot}/lib/main.dart",
|
"program": "${workspaceRoot}/lib/main.dart",
|
||||||
"type": "dart",
|
|
||||||
"preLaunchTask": "build_flowy_sdk",
|
"preLaunchTask": "build_flowy_sdk",
|
||||||
|
"type": "dart",
|
||||||
"env": {
|
"env": {
|
||||||
"RUST_LOG": "debug"
|
"RUST_LOG": "debug"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceRoot}"
|
"cwd": "${workspaceRoot}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "app_flowy(trace)",
|
// This task only build the Dart code of AppFlowy.
|
||||||
|
"name": "Build (Dart)",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/lib/main.dart",
|
||||||
|
"type": "dart",
|
||||||
|
"env": {
|
||||||
|
"RUST_LOG": "debug"
|
||||||
|
},
|
||||||
|
"cwd": "${workspaceRoot}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Build (trace log)",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceRoot}/lib/main.dart",
|
"program": "${workspaceRoot}/lib/main.dart",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
@ -27,7 +39,7 @@
|
|||||||
"cwd": "${workspaceRoot}"
|
"cwd": "${workspaceRoot}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "app_flowy (profile mode)",
|
"name": "Build (profile mode)",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "profile"
|
"flutterMode": "profile"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user