2 Answers
- Newest
- Most votes
- Most comments
0
I found a sloppy way of doing it via
$util.validate(false, $record.entity )
This will generate an error in graphql, but it can show what the value was of a variable.
answered 5 years ago
0
You can also just stash the value and it will show up in the logs, depending on your settings.
$util.qr($ctx.stash.put("debugthis", $record.entity))
Also note that your log level in AppSync must be set to ALL if you want to see this output.
answered 5 years ago
Relevant content
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago