2021-02-20 23:05:36 +00: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 01:41:38 +00:00
|
|
|
"name": "Debug executable 'Zed'",
|
2021-08-24 23:11:40 +00:00
|
|
|
"env": {
|
|
|
|
"ZED_SERVER_URL": "http://localhost:8080"
|
|
|
|
},
|
2021-02-20 23:05:36 +00:00
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
2021-04-14 01:41:38 +00:00
|
|
|
"--bin=Zed",
|
2021-02-20 23:05:36 +00:00
|
|
|
"--package=zed"
|
|
|
|
],
|
|
|
|
"filter": {
|
2021-04-14 01:41:38 +00:00
|
|
|
"name": "Zed",
|
2021-02-20 23:05:36 +00:00
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
2021-03-26 13:14:23 +00:00
|
|
|
"args": [
|
|
|
|
"${workspaceFolder}"
|
|
|
|
],
|
2021-02-20 23:05:36 +00: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 01:41:38 +00:00
|
|
|
}
|