MCPcopy Index your code
hub / github.com/codeaashu/claude-code / shouldShowDebugMessage

Function shouldShowDebugMessage

src/utils/debugFilter.ts:145–157  ·  view source on GitHub ↗
(
  message: string,
  filter: DebugFilter | null,
)

Source from the content-addressed store, hash-verified

143 * Combines extraction and filtering
144 */
145export function shouldShowDebugMessage(
146 message: string,
147 filter: DebugFilter | null,
148): boolean {
149 // Fast path: no filter means show everything
150 if (!filter) {
151 return true
152 }
153
154 // Only extract categories if we have a filter
155 const categories = extractDebugCategories(message)
156 return shouldShowDebugCategories(categories, filter)
157}
158

Callers 1

shouldLogDebugMessageFunction · 0.85

Calls 2

extractDebugCategoriesFunction · 0.85

Tested by

no test coverage detected