Add with/without ssl targets to debugger configuration

This commit is contained in:
Jeong, YunWon committed 2023-08-27 02:11:01 +09:00
1 parent d5a62848dd
commit 287f89aa04
2 files changed
+30 -8

No files matched your search

+12 -6
View File
@@ -8,12 +8,6 @@
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rustpython'",
"cargo": {
"args": [
"build",
"--package=rustpython"
],
},
"preLaunchTask": "Build RustPython Debug",
"program": "target/debug/rustpython",
"args": [],
@@ -22,6 +16,18 @@
},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'rustpython' without SSL",
"preLaunchTask": "Build RustPython Debug without SSL",
"program": "target/debug/rustpython",
"args": [],
"env": {
"RUST_BACKTRACE": "1"
},
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
+18 -2
View File
@@ -2,7 +2,7 @@
"version": "2.0.0",
"tasks": [
{
"label": "Build RustPython Debug",
"label": "Build RustPython Debug without SSL",
"type": "shell",
"command": "cargo",
"args": [
@@ -15,6 +15,22 @@
"kind": "build",
"isDefault": true,
},
}
},
{
"label": "Build RustPython Debug",
"type": "shell",
"command": "cargo",
"args": [
"build",
"--features=ssl"
],
"problemMatcher": [
"$rustc",
],
"group": {
"kind": "build",
"isDefault": true,
},
},
],
}