Screeps: write debug output to console?

javascript, screeps

Solution

You can use standard `console.log` method for that.

Problem

Is there a way of getting screeps code to print strings to the console (or anywhere really) for simple debugging purposes?

Original source