I am trying to debug my client side renderings using Console.log() (If there is an easy way to use the debug tool, do tell) but I can only view server rendered conole.logs().
I am trying to see the flow of information for this handler:
const statusHandler = async () => {
console.log("TRYING TO SEE STUFF HERE BUT UNABLE TO")
try {call an API
.....
});
} catch (err) {
console.log(err);
}
This function statusHandler is called from a react component.
The page does have getServerSideProps() to initially render the page with database information.
edit
I have tried using the browser developer tools but pages refresh and I can't track the flow of information.
Please help. Thank you:)