Add an API to List All the Notes

Link to chapter — https://serverless-stack.com/chapters/add-an-api-to-list-all-the-notes.html

When clicking Send the console is not displaying anything, like shown in the guide. The console displays nothing. However it is shown in the terminal in VS Code.

I believe it is because the handler is invoking an async anonymous function which does not return to the console browser. Yet, this is inconsistent with what the guide shows.

I found the reason for this is I was running the debugger during that execution. Run normal without the debugger and output goes to the console.