35

Trying to debug some webpage JavaScript with Edge.

Console window doesn't log anything before you open it.

You cannot copy-paste more than a single line from it.

You cannot search in it.

Fuck. Just FUCK.

Comments
  • 0
    As usual: gg Microsoft!
  • 0
    Question why are you using edge to do this?
  • 5
    Answer of course to find out why the hell page doesn't work on Edge
  • 0
    The only thing that would make me go out of my way to support edge/explorer is if I was targeting old people.
  • 1
    @dontbeevil why so evil? I see nothing hateful in @Ashkin particular comment in this rant and in her comments overall ( and i have seen lots of her comments).

    So what if she's biased against MS?
    So are a large majority of the devs i know. I can't understand why you target her as being a "hater".
  • 2
    Talking bad about Microsoft is more likely to make you a hipster than a hater, most of the hate is based on ignorance, and Microsoft browsers have never created the console object before there actually was a console.

    And the console behaviour actually makes quite good sense, just like Node.js doesn't have a window object, as there is no window.
  • 1
    Ashkin the hater. 😇
  • 1
    @dontbeevil As the console functionality is meant only for developers and is mainly used for debugging scripts it makes sense to only have a console object when a console has been opened (typically by opening developer tools for whatever browser you use).

    The older versions of IE did have a big problem in completely halting script execution because of the exception thrown when trying to reference the console object prior to its creation, as it would with any object...

    And for proper logging puposes you should use a proper logger, that keeps track of its own history and output channels.
Add Comment