MCPcopy Index your code
hub / github.com/pantsbuild/pants / debug

Method debug

src/python/pants/task/task.py:225–235  ·  view source on GitHub ↗

Whether debugging is requested for this task. If `True` the task can assume the user wants debugging information surrounding the task logged. Common uses of this include passing debug logging flags through to tools a task runs. :API: public

(self)

Source from the content-addressed store, hash-verified

223
224 @property
225 def debug(self) -> bool:
226 """Whether debugging is requested for this task.
227
228 If `True` the task can assume the user wants debugging information surrounding the task
229 logged. Common uses of this include passing debug logging flags through to tools a task
230 runs.
231
232 :API: public
233 """
234 log_level: LogLevel = self.get_options().level
235 return log_level == LogLevel.DEBUG
236
237 @property
238 def skip_execution(self):

Callers 15

_get_nitsMethod · 0.45
__init__Method · 0.45
run_commandMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
_is_findbugs_targetMethod · 0.45
run_testsMethod · 0.45
_is_errorprone_targetMethod · 0.45
errorproneMethod · 0.45
executeMethod · 0.45
execute_codegenMethod · 0.45
_lintMethod · 0.45

Calls 1

get_optionsMethod · 0.95

Tested by 2

run_testsMethod · 0.36
_executeMethod · 0.36