소스 검색

chore: support debugging rust in vscode

tsuiyuenhong 2 년 전
부모
커밋
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.