DebugIsNotUsed
Report Debug usage.
check :
Check
Report uses of Debug module members
Debug.todomarks missing functionality which needs to be added graduallyDebug.logis a quick and dirty way to display a value in the console and can for example be used to inspect private (opaque) types. It's nothing a published product should make use of.Debug.toStringis a quick and dirty way to display a value anywhere, similar toDebug.log
Debug members also can't be compiled in optimized mode and prevent publishing as a package.
reported
a =
"" |> Debug.log "text"
b =
Debug.todo ""
c =
1 |> Debug.toString
not reported
a stdout =
Stream.Log.line stdout "text"
b =
Node.exit 1
c =
1 |> String.fromInt