Julia中调试函数的替代品是什么?

Julia中调试函数的替代品是什么?,julia,Julia,即使试过docker也找不到合适的替代品 julia> debug("hello") ERROR: UndefVarError: debug not defined Stacktrace: [1] top-level scope at REPL[6]:1 使用宏打印调试输出 您必须启用调试输出才能真正看到它。您可以使用env变量JULIA\u DEBUG启用它: help?> debug search: @debug Couldn't find debug Perhaps yo

即使试过docker也找不到合适的替代品

julia> debug("hello")
ERROR: UndefVarError: debug not defined
Stacktrace:
 [1] top-level scope at REPL[6]:1
使用宏打印调试输出

您必须启用调试输出才能真正看到它。您可以使用env变量
JULIA\u DEBUG
启用它:

help?> debug
search: @debug

Couldn't find debug
Perhaps you meant @debug, @enum, big or detach
  No documentation found.

  Binding debug does not exist.
julia> @debug "hello"

julia> ENV["JULIA_DEBUG"] = "all"
"all"

julia> @debug "hello"
┌ Debug: hello
└ @ Main REPL[4]:1