Debug console in session

I'm curious if there is a way to display messages in the template alongside, or instead of, the server console.

I'm not sure if the application is coded to support it as I imagine the client routes out messages that the server catches and prints but I find myself needing the feature more often than not.

Hi,

I may misunderstand your request but if you check the debug option in the window server you will see the logs

Yes, on the server the debug option to show in the server console. I'm referring to the JS console.

You could use the remote control command /LOG in the custom module's oscInFilter / oscOutFilter to display custom debug messages in the client console:

module.exports = {
  oscInFilter: (data)=>{
    receive('/LOG', `MSG IN: ${data.address}, ${data.args.map(a=>a.value).join(', ')}`)
    return data
  }
}
2 Likes