@rcsr
I am using forge tunnel, and I was able to confirm that console.log is working in the resolver. However, I couldn’t see the console.log output in the developer tool’s console. I don’t fully understand the meanings of frontend and backend. Does frontend refer to the browser’s developer console? Does backend refer to forge logs or forge tunnel? I am a beginner with Forge. Thank you for your assistance.
Does frontend refer to the browser’s developer console? Does backend refer to forge logs or forge tunnel ?
Frontend is your app’s client side React app (src/frontend folder) so any logs will be displayed in your browser’s developer console. Backend is your resolver functions e.g. anything declared inside src/index.js.
If you can’t see anything being logged in your developer console, maybe check your log levels - you will need Info enabled.
Can you post the frontend portion of the code? It would help us debug this further.
Thank you for your response. I now understand what frontend and backend refer to. When I turned off the “Selected context only” filter in the Chrome DevTools, it worked correctly. I appreciate your support.