MCPcopy Index your code
hub / github.com/callstack/agent-device / isDebugRequested

Function isDebugRequested

src/cli.ts:451–458  ·  view source on GitHub ↗
(argv: string[])

Source from the content-addressed store, hash-verified

449}
450
451function isDebugRequested(argv: string[]): boolean {
452 try {
453 const parsed = parseRawArgs(argv);
454 return isParsedDebugRequested(parsed.command ?? '', parsed.providedFlags);
455 } catch {
456 return argv.includes('--debug') || argv.includes('-v') || argv.includes('--verbose');
457 }
458}
459
460function isParsedDebugRequested(
461 command: string,

Callers 1

runCliFunction · 0.85

Calls 2

parseRawArgsFunction · 0.90
isParsedDebugRequestedFunction · 0.85

Tested by

no test coverage detected