2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 5년 전
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.
답변함 5년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전