Does anyone know how to inspect field values in th...
# suitescript
c
Does anyone know how to inspect field values in the 2.1 debugger? In the previous debugger, the fields were available under the record name. This could be a chrome debugger specific thing?
b
use .toJSON on what you are debugging first
c
Literally just did that and found it annoying. Was that required previously, I always thought the previous debugger deserialised for you.
b
previous debugger lied to you, though it was more convienient
😄 2
r
Not a fan of the broken 2.1 debugger. It doesn’t even spit log commands into the console for me anymore. I have to breakpoint inspect it all. user error
d
just have
order?.toJSON()  fulfillment?.toJSON()
in your debugger "Watch" section, if those are common Record names for you. seems like Watch does carryover between debugging sessions doesn't seem too inconveniencing, although agreed there are definitely some differences/quirks between 2.0 vs 2.1 debug experiences
m
I'm a huge fan of 2.1 debugger. It's leaps and bounds better than the rhino one
b
i personally like the 2.0 debugger since its quicker, 2.1 too slow
but the 2.1 is more powerful
c
@NElliott that looks pretty good!
👍 1