Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Added launch profile for attaching to a running codex CLI process (#2372)

Eric Traut1930ee720ac4
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 618207f301..d87ce482e4 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,18 +1,22 @@
{
- "version": "0.2.0",
- "configurations": [
- {
- "type": "lldb",
- "request": "launch",
- "name": "Cargo launch",
- "cargo": {
- "cwd": "${workspaceFolder}/codex-rs",
- "args": [
- "build",
- "--bin=codex-tui"
- ]
- },
- "args": []
- }
- ]
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "type": "lldb",
+ "request": "launch",
+ "name": "Cargo launch",
+ "cargo": {
+ "cwd": "${workspaceFolder}/codex-rs",
+ "args": ["build", "--bin=codex-tui"]
+ },
+ "args": []
+ },
+ {
+ "type": "lldb",
+ "request": "attach",
+ "name": "Attach to running codex CLI",
+ "pid": "${command:pickProcess}",
+ "sourceLanguages": ["rust"]
+ }
+ ]
}