Any tips for debugging map/reduce scripts?
# suitescript
c
Any tips for debugging map/reduce scripts?
w
Lots of logging?
You can run each of the stages in debugger if you call them with a manually constructed context-object.
c
That is the tip I needed. 🙂
s
Also make sure to actually use the summarize to get the errors that happen, I notice a lot of people do not use summarize unless they need it for business logic.