MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / debug

Function debug

lib/output.js:94–99  ·  view source on GitHub ↗

* Print information in --debug mode * @param {string} msg

(msg)

Source from the content-addressed store, hash-verified

92 * @param {string} msg
93 */
94 debug(msg) {
95 const _msg = shouldMaskData() ? maskData(msg, getMaskConfig()) : msg
96 if (outputLevel >= 2) {
97 print(' '.repeat(output.stepShift), styles.debug(`${figures.pointerSmall} ${_msg}`))
98 }
99 },
100
101 /**
102 * Print information in --verbose mode

Callers 15

getCmdFunction · 0.85
parseInputFunction · 0.85
createMethod · 0.85
appendMethod · 0.85
clearMethod · 0.85
createHelpersFunction · 0.85
requireHelperFromModuleFunction · 0.85
getFunction · 0.85
createPluginsFunction · 0.85
loadSupportObjectFunction · 0.85
getCodeSuggestionsMethod · 0.85
healStepMethod · 0.85

Calls 5

shouldMaskDataFunction · 0.90
maskDataFunction · 0.90
getMaskConfigFunction · 0.90
debugMethod · 0.80
printFunction · 0.70

Tested by

no test coverage detected