Skip to content

Commit 1930ee7

Browse files
Added launch profile for attaching to a running codex CLI process (#2372)
1 parent 7a80d3c commit 1930ee7

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.vscode/launch.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
"type": "lldb",
6-
"request": "launch",
7-
"name": "Cargo launch",
8-
"cargo": {
9-
"cwd": "${workspaceFolder}/codex-rs",
10-
"args": [
11-
"build",
12-
"--bin=codex-tui"
13-
]
14-
},
15-
"args": []
16-
}
17-
]
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "lldb",
6+
"request": "launch",
7+
"name": "Cargo launch",
8+
"cargo": {
9+
"cwd": "${workspaceFolder}/codex-rs",
10+
"args": ["build", "--bin=codex-tui"]
11+
},
12+
"args": []
13+
},
14+
{
15+
"type": "lldb",
16+
"request": "attach",
17+
"name": "Attach to running codex CLI",
18+
"pid": "${command:pickProcess}",
19+
"sourceLanguages": ["rust"]
20+
}
21+
]
1822
}

0 commit comments

Comments
 (0)