-
I'm trying some simple conversions and using VSCode debugger to step through my program, but the cue values are hard to reach in the debug mode. Is there a best practise to quickly see the current state of the Any tips welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
CUE values implement |
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#812. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
CUE values implement
fmt.Formatter
, so you can usefmt.Sprint(v)
and friends. You can get different levels of details by usingfmt.Sprintf("%+v", v)
andfmt.Sprintf("%#v", v)
.