So the debug macro is:
@debug(message, value...)
I solve the issue by inserting all my values in the message argument (using string interpolation with $) instead of value args. In my case it was a dictionary named info with many Vector{Float64} values inside. I created this function:
function info2debugstr(info)
mystr = "Content of info dictionary:\n"
for (key, value) in info
mystr *= " :$key => $value\n"
end
return mystr
end
and used it with:
@debug(info2debugstr(info))