Mirza
06/17/2022, 12:35 PMimport debug from "../libs/debug-lib";
However, the reference should be to ../util/debug as per page 345
Create a backend/util/debug.js file from your project root with the following
There is a further reference to debug-lib on page 349.
Note that, the handler-lib.js needs to be imported before we import anything else. This is
because the debug-lib.js that it imports needs to initialize AWS SDK logging before it's used
anywhere else.
I think the handler-lib and debug-lib references got cross contaminated from the serverless app instructions from pages 578 and onwards.Jay