Frontend debugging: how can I get to see a console.log in my TY page extension?

Hey folks,
I’m creating a extension for a payment app, the ext. is for the thank you page. How can I see a console log in the browser? is this even possible while development?
thanks folks.