Skip to content

Commit 7c9538a

Browse files
committed
debug: add logging to see at-mention parameters being sent
1 parent eabd323 commit 7c9538a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lua/claudecode/init.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,13 @@ function M._broadcast_at_mention(file_path, start_line, end_line)
10311031
lineEnd = end_line,
10321032
}
10331033

1034+
-- Debug logging to see what's being sent
1035+
logger.debug("command", "Sending at_mentioned with params:")
1036+
logger.debug("command", " filePath: '" .. tostring(formatted_path) .. "'")
1037+
logger.debug("command", " lineStart: " .. tostring(start_line))
1038+
logger.debug("command", " lineEnd: " .. tostring(end_line))
1039+
logger.debug("command", " is_directory: " .. tostring(is_directory))
1040+
10341041
local broadcast_success = M.state.server.broadcast("at_mentioned", params)
10351042
if broadcast_success then
10361043
return true, nil

0 commit comments

Comments
 (0)