I'm developing a webapp in Nodejs that I host in EC2 instance in AWS. Unfortunately, there's a bug that errors out only in production (EC2) that I cannot replicate in my local environment but I'm unable to find the console.logs to find out what's the error in production and debug.
I have been trying to set Cloudwatch agents assigned to my instance, but I still can't see the right logs. Any suggestions or pointers? Thanks!