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

Function isParsedDebugRequested

src/cli.ts:460–469  ·  view source on GitHub ↗
(
  command: string,
  providedFlags: Array<{ key: FlagKey; token: string }>,
)

Source from the content-addressed store, hash-verified

458}
459
460function isParsedDebugRequested(
461 command: string,
462 providedFlags: Array<{ key: FlagKey; token: string }>,
463): boolean {
464 return providedFlags.some(
465 (entry) =>
466 entry.key === 'verbose' &&
467 (entry.token === '--debug' || entry.token === '-v' || command !== 'test'),
468 );
469}
470
471function readBatchSteps(flags: ReturnType<typeof resolveCliOptions>['flags']): BatchStep[] {
472 let raw = '';

Callers 2

runCliFunction · 0.85
isDebugRequestedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected