google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.59k stars 428 forks source link

Unable to view logs when using `clasp run` #952

Open henrychea opened 1 year ago

henrychea commented 1 year ago

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

Expected Behavior

Clasp run outputs Logger logs in terminal.

Actual Behavior

No log can be seen.

Steps to Reproduce the Problem

  1. Run simple code
    function SimpleLog() {
    for (let index = 0; index < 5; index++) {
    Logger.log(index);
    }
    }
  2. clasp run SimpleLog outputs only No response.

Specifications