I\'m using grunt-contrib-jasmine to run my javascript specs. How do I write debug output to the console when running specs i.e. how do I get
console.log(\"so
Not a solution but a work around (sort of). Put in a expect("something").toBe(null); This will make jasmine to write out an error message like: Expected 'something' to be null. This way you can peek into objects (expect(element).toBe(null);)
expect("something").toBe(null);
Expected 'something' to be null.
expect(element).toBe(null);