https://discord.gg/botpress logo
Console.log
# 🤝help
n
Hi! I'm working on a Teams integration and added console.log statements to my hooks, but I can't see them in the Logs section of Botpress Studio. The hook is executing (I can see it in the execution trace), but none of my console.log outputs appear. Where should I be looking for console.log statements from hooks? Are they in a different location than the main Logs panel? Using Botpress Cloud, hook type: after_incoming_middleware
l
Hey hey! A console.log statement should be visible from the Logs section in the bottom panel of the studio. It's not showing up there for you?
g
are you using in emulator or published? if in emulator the screenshot @loud-grass-86324 sent is where to find the logs, if using it in prod the logs will be: 1) click on your bot in workspace 2) look on the left hand side panel https://cdn.discordapp.com/attachments/1417523371520036914/1417547016258588756/Screenshot_2025-09-16_at_19.24.37.png?ex=68cae109&is=68c98f89&hm=56d7f4f1759fdd232f7b1c716a546f1095f39483649ed5e709f2956014a3be7f&
under inspect
2 Views