How to debug backend code in preview mode?

I am trying to debug the code of the backend of my website. But I am not able to see any console on my preview website. I have not received any orders from Wix in my backend (NetBaron). Only the website’s console is visible in the developer console.

If I try to run that proxy URL from the Postman web app it works fine.

Can you please help me figure out this problem?

I think there are more then 2-ways of how to do that.

  1. You click the → blue-play-button on the left side when you are on your BACKEND.
  2. Generating your own CONSOLE-LOG-OUTPUT, like…

Generating your log-output as object.

let logOutput = {};

…adding new values to your log…

logOutput.yyyyyy
logOutput.xxxxx
logOutput.whatEver

returning your LOG-OUTPUT back to frontend and console log it there…

return logOutput
  1. i forgot, but there should be a third possibility …

Code-Ninja