Skip to content

stream Function logs to terminal during sandbox #1133

@josefaidt

Description

@josefaidt

Environment information

n/a

Description

It would be helpful to debug Function executions by streaming logs to the terminal where Sandbox is running. For example, viewing a logs for Cognito triggers during an auth flow:

[sandbox] watching for file changes...
[auth:preSignUp] EVENT {...}
[auth:preSignUp] validating email domain
[auth:preSignUp] successfully validated email domain
[auth:postConfirmation] adding user xxxx to group "EVERYONE"
[auth:postConfirmation] creating UserProfile for user xxx
[auth:postConfirmation] failed to create UserProfile for user xxx
# ...Function stack trace

Metadata

Metadata

Assignees

Labels

feature-requestNew feature or requestfunctionIssue pertaining to Amplify Functionp3sandboxRelated to the sandbox experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions