Repository navigation
Closed as duplicate
Labels
bugSomething isn't workingSomething isn't working
Description
API call debug info is output to console. This should not be shown.
Verbose is set to false in /config
Anthropic:DEBUG:response 200 https://api.anthropic.com/v1/messages?beta=true GZ [Headers] {
[Symbol(map)]: [Object: null prototype] {
date: [ 'XXX' ],
'content-type': [ 'text/event-stream; charset=utf-8' ],
'transfer-encoding': [ 'chunked' ],
connection: [ 'keep-alive' ],
'cache-control': [ 'no-cache' ],
'anthropic-ratelimit-requests-limit': [ '120' ],
'anthropic-ratelimit-requests-remaining': [ '119' ],
'anthropic-ratelimit-requests-reset': [ '2025-02-24T20:58:49Z' ],
'anthropic-ratelimit-input-tokens-limit': [ '300000' ],
'anthropic-ratelimit-input-tokens-remaining': [ '222000' ],
'anthropic-ratelimit-input-tokens-reset': [ 'XXX' ],
'request-id': [ 'XXX' ],
'anthropic-organization-id': [ 'XXX' ],
via: [ '1.1 google' ],
'cf-cache-status': [ 'DYNAMIC' ],
'x-robots-tag': [ 'none' ],
server: [ 'cloudflare' ],
'cf-ray': [ 'XXX' ]
}
} PassThrough {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: [Object], tail: [Object], length: 1 },
length: 349,
pipes: [],
flowing: null,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
dataEmitted: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: null
},
_events: [Object: null prototype] {
prefinish: [Function: prefinish],
unpipe: [Function: onunpipe],
error: [ [Function: onerror], [Function (anonymous)] ],
close: [Function: bound onceWrapper] { listener: [Function: onclose] },
finish: [Function: bound onceWrapper] { listener: [Function: onfinish] }
},
_eventsCount: 5,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: true,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
}
Reacted by Matt Westcott and Killinsun - Ryota Takeuchi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
killinsun commentedon Feb 26, 2025
Claude code seems to be reading the
DEBUGenvironment variable, and by setting it to false, I could bypass the issue.However, since this might conflict with
.envfiles used by user's project, it would be preferable if Claude code used a prefixed variable like 'CLAUDE_CODE_DEBUG' instead.[-]API call debug info is output to console[/-][+]Rename DEBUG env option to CLAUDE_DEBUG[/+]github-actions commentedon Aug 10, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.