I have an meanjs application running on a vagrant box. My vagrantfile is as follows
config.vm.network "forwarded_port", guest: 27017, host: 27016 #mongodb
config.vm.network "forwarded_port", guest: 1337, host: 1338 #node inspector
config.vm.network "private_network", ip: "192.168.33.10"
node inspector configuration is as follows
'node-inspector': {
custom: {
options: {
'web-port': 1337,
'web-host': 'localhost',
'debug-port': 5858,
'save-live-edit': true,
'no-preload': true,
'stack-trace-limit': 50,
'hidden': []
}
}
},
I am not able to get the node inspector working on my host machine whenever
http://192.168.33.10:1338/debug?port=5858
with vagrant I am able to get the node-inspector working on the local machine without vagrant