print a message to debug

Hi, I am developing a test for an application created in Unity.
I compiled the web version, for use in the browser.
Clicking on a cube, a script simply opens in the web browser, a page of a website.
My desire is to print a message on console, or give some kind of warning, while running this part of the script (when the web page is opened).
Thus, make a report with console output for this test.
Can anyone tell me how? thanks

Can you use Debug.Log() (Unity - Scripting API: Debug)