How to debug loco application using vscode or rustrover? #377
Unanswered
yuequan1997
asked this question in
Q&A
Replies: 3 comments 2 replies
-
What do you mean by debug directly with ide? I use |
Beta Was this translation helpful? Give feedback.
1 reply
-
+1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is how I do it with VSCode: {
"version": "2.0.0",
"tasks": [
{
"label": "build_project",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}",
"shell": {
"executable": "/bin/bash",
"args": [
"-c",
"-i"
]
}
},
"command": "cargo",
"args": [
"build"
]
}
]
} launch.json {
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'lc_api_template-cli'",
"program": "${workspaceFolder}/target/debug/${workspaceFolderBasename}-cli",
"preLaunchTask": "build_project",
"args": [
"start",
"-e",
"development"
],
"cwd": "${workspaceFolder}",
}
]
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's not possible to debug directly with ide, but I believe it should be possible to debug through some kind of linkage
Beta Was this translation helpful? Give feedback.
All reactions