From 1930ee720ac4c8873d68c1b046de055755369332 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Fri, 15 Aug 2025 23:35:01 -0700 Subject: [PATCH] Added launch profile for attaching to a running codex CLI process (#2372) --- .vscode/launch.json | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 618207f3..d87ce482 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"] + } + ] }