-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Breaking this question off from issue #19 into a separate discussion, since the initial response was not immediate consensus. Prior discussion from that issue copied here for the reader's convenience:
johnarwe:
@0tho , how would you feel about me adding one or more commands to toggle console.log calls for various "topics" (all defaulting to off)? In debugging the causes of these issues, I added "more than a few" such calls that could be grouped into logical units (one around lifecycle events that drive parsing, one around actual rule parsing, ...). I'm a tiny bit reluctant to just remove what I added, OTOH I certainly don't want npp to flood the log unless a human has consciously requested doing so. I'm thinking they'd only be accessible via the command palette, although I would not object if you wanted them hung off the Packages > npp entry as well.
otho:
Wouldn't many console.log pollute the code with no other reason to exist other than debugging?