Browse Source

chore: support debugging rust in vscode

tsuiyuenhong 2 years ago
parent
commit
fd6208100c
1 changed files with 1 additions and 9 deletions
  1. 1 9
      frontend/.vscode/launch.json

+ 1 - 9
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.