I can’t seem to get
console.log to work in my package. I am convinced I have my
package.json file setup correctly and that Atom sees my package because this code works:
module.exports = activate: -> editor = atom.workspace.getActiveEditor() atom.workspaceView.command "plugin:run", => editor.insertText "Activated"
But trying to log to console doesn’t work (suggested here):
module.exports = activate: -> console.log "Activated"
Does anyone have ideas on getting this to work?