I am new to nodejs and browserify. I started with this link .
I have file main.js which contains this code
var unique = require(\'uniq\'); var data
For debugging purposes I added this line to my code.js:
window.e = function(data) {eval(data);};
Then I could run anything even outside the bundle.
e("anything();");