Edward Smith
03/24/2022, 9:32 AMAWS_PROFILE
being set in env variables when app is local? our team occasionally runs it which of course doesn't work . I added it to the top of main, but the debug stack get started prior to the check I addedFrank
debugApp
callback in ur index. For example:
export function debugApp(app) {
// Do your check here maybe?
new DebugStack(app, "debug-stack");
}
Here r more details on this https://docs.serverless-stack.com/constructs/DebugStack#examplesFrank
Frank
Edward Smith
03/24/2022, 5:50 PMEdward Smith
03/24/2022, 5:50 PM