Just in case: do not forget to choose the correct types of logs to be shown. There is a dropdown menu "Custom" in the console. By default, I had only "errors", but for displaying outputs from the console.log(), "log" should be checked