From fd6208100cc24b1aff5962de2bb666eff788c4b2 Mon Sep 17 00:00:00 2001 From: tsuiyuenhong Date: Tue, 21 Jun 2022 20:25:52 +0800 Subject: [PATCH] chore: support debugging rust in vscode --- frontend/.vscode/launch.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/frontend/.vscode/launch.json b/frontend/.vscode/launch.json index 825c51cc5c..315e208317 100644 --- a/frontend/.vscode/launch.json +++ b/frontend/.vscode/launch.json @@ -20,15 +20,7 @@ "name": "AF: Debug Rust", "request": "attach", "type": "lldb", - "windows": { - "program": "" // FIXME: windows executable path - }, - "osx": { - "program": "${workspaceRoot}/app_flowy/build/macos/Build/Products/Debug/AppFlowy.app", - }, - "linux": { - "program": "" // FIXME: linux executable path - }, + "pid": "${command:pickMyProcess}" }, { // This task only builds the Dart code of AppFlowy.