Просмотр исходного кода

chore: support debugging rust in vscode

tsuiyuenhong 2 лет назад
Родитель
Сommit
fd6208100c
1 измененных файлов с 1 добавлено и 9 удалено
  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.