var smartDebug = require("./index.js"); smartDebug.log("test"); smartDebug.activate(true); smartDebug.log("test2");