2021-02-21 02:05:36 +03:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
2021-04-14 04:41:38 +03:00
|
|
|
"name": "Debug executable 'Zed'",
|
2021-08-25 02:11:40 +03:00
|
|
|
"env": {
|
|
|
|
"ZED_SERVER_URL": "http://localhost:8080"
|
|
|
|
},
|
2021-02-21 02:05:36 +03:00
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
2021-04-14 04:41:38 +03:00
|
|
|
"--bin=Zed",
|
2021-02-21 02:05:36 +03:00
|
|
|
"--package=zed"
|
|
|
|
],
|
|
|
|
"filter": {
|
2021-04-14 04:41:38 +03:00
|
|
|
"name": "Zed",
|
2021-02-21 02:05:36 +03:00
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
2021-03-26 16:14:23 +03:00
|
|
|
"args": [
|
|
|
|
"${workspaceFolder}"
|
|
|
|
],
|
2021-02-21 02:05:36 +03:00
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in executable 'zed'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--bin=zed",
|
|
|
|
"--package=zed"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "zed",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in library 'gpui'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--lib",
|
|
|
|
"--package=gpui"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "gpui",
|
|
|
|
"kind": "lib"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 04:41:38 +03:00
|
|
|
}
|