디버깅 방법은? `Compiler said: ReferenceError: console is not defined`

최근 두 개의 다른 사이트에서 이 오류를 확인했습니다. 현재는 개발 사이트에서 발생하고 있으며, 해당 플러그인은 프로덕션 환경에서는 정상적으로 작동하고 있습니다.

console.log 대신 이렇게 해야 하나요?

수정: apparently 이렇게 해야 하는 것 같습니다:

        window.console.log(value, "size");