Basically with default parse setup on AWS server. I want to debug my cloud code I recently updated with Promise, Arrow Functions, useMasterKey:true.. stuffs like these.
What I am expecting? I have defined a hello world cloud functions
Parse.Cloud.define("hello", (request, response) => {
console.log("Hello world Log Test");
var user=request.user;
console.log("Request: "+user);
response.success("Hello world!");
});
And Output I am getting on Parse Dashboard
2017-02-02T06:27:10.219Z - Ran cloud function hello for user OR2jnwUjmF with:
Input: {"userTest":"This is so stupid"}
Result: "Hello world!"
I have noticed logs on Parse Dashboard is only of Request and Response.
console.log(..) method is not working.
Eventually I had some google work with https://github.com/ParsePlatform/parse-server/wiki/LoggerAdapter.js
But is not enough to understand. Without logs it is impossible for me to check other functionalities.