-
Originally opened by @Rots in cuelang/cue#812 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: 1 comment
-
Original reply by @mpvl in cuelang/cue#812 (comment) CUE values implement |
Beta Was this translation helpful? Give feedback.
Original reply by @mpvl in cuelang/cue#812 (comment)
CUE values implement
fmt.Formatter
, so you can usefmt.Sprint(v)
and friends. You can get different levels of details by usingfmt.Sprintf("%!v(MISSING)", v)
andfmt.Sprintf("%!v(MISSING)", v)
.