user-1: Where can I see outputs from such instruction in an ino file ?
Serial.println("my message");


user3406: Call Serial.begin(9600) in your setup() function:
void setup() {
  Serial.begin(9600);
}

Call Serial.print('example') or Serial.println('example') in your loop() function (or one of your own functions that your loop() function calls:
void loop() {
  Serial.print('example');
  Serial.print('example');
  // Output of the two calls above: exampleexample
  Serial.println('example');
  Serial.println('example');
  // Output of the two calls above:
  // example
  // example
}

Go to Tools > Serial Monitor to see the output.
References:

https://www.arduino.cc/reference/en/language/functions/communication/serial/print/
https://www.arduino.cc/reference/en/language/functions/communication/serial/println/


user8477: It took me ages to realize that instead of remembering Ctrl-Shft-M you can just click on the little magnifying glass in the upper right of the IDE interface. Wait until after your script uploads though, it won't do anything while compiling or uploading your script. 


user-1: The Serial.print statements show up on whatever terminal program is opened and connected. Their can be only one open at a time, but it could the Arduino IDE built in monitor (ctl-shft-m) or an external terminal program, eg putty, or some other program you wrote that opened the com/serial port the Arduino is on.
Remember though - only 1 can be open at a time. If you use an external program you MUST close the com port before attempting to download a new version of your sketch.  If you use the built in monitor/terminal it will automatically do this for you.

-1: <p>Where can I see outputs from such instruction in an ino file ?</p>

<pre><code>Serial.println("my message");
</code></pre>
 3406: <p>Call <code>Serial.begin(9600)</code> in your <code>setup()</code> function:</p>
<pre><code>void setup() {
  Serial.begin(9600);
}
</code></pre>
<p>Call <code>Serial.print('example')</code> or <code>Serial.println('example')</code> in your <code>loop()</code> function (or one of your own functions that your <code>loop()</code> function calls:</p>
<pre><code>void loop() {
  Serial.print('example');
  Serial.print('example');
  // Output of the two calls above: exampleexample
  Serial.println('example');
  Serial.println('example');
  // Output of the two calls above:
  // example
  // example
}
</code></pre>
<p>Go to <strong>Tools</strong> &gt; <strong>Serial Monitor</strong> to see the output.</p>
<p>References:</p>
<ul>
<li><a href="https://www.arduino.cc/reference/en/language/functions/communication/serial/print/" rel="nofollow noreferrer">https://www.arduino.cc/reference/en/language/functions/communication/serial/print/</a></li>
<li><a href="https://www.arduino.cc/reference/en/language/functions/communication/serial/println/" rel="nofollow noreferrer">https://www.arduino.cc/reference/en/language/functions/communication/serial/println/</a></li>
</ul>
 8477: <p>It took me ages to realize that instead of remembering Ctrl-Shft-M you can just click on the little magnifying glass in the upper right of the IDE interface. Wait until after your script uploads though, it won't do anything while compiling or uploading your script. </p>

<p><img src="https://i.stack.imgur.com/qrktx.png" alt="Screen Shot of Arduino IDE interface showing serial monitor icon"></p>
 -1: <p>The Serial.print statements show up on whatever terminal program is opened and connected. Their can be only one open at a time, but it could the Arduino IDE built in monitor (ctl-shft-m) or an external terminal program, eg putty, or some other program you wrote that opened the com/serial port the Arduino is on.</p>

<p>Remember though - only 1 can be open at a time. If you use an external program you MUST close the com port before attempting to download a new version of your sketch.  If you use the built in monitor/terminal it will automatically do this for you.</p>
