Install the weinre module from npm:
$ sudo npm -g install weinre
In your index.html add the following line before closing the head section:
<script src="http://your-local-ip:8081/target/target-script-min.js#anonymous"></script>
Then in your terminal run:
$ weinre --httpPort 8081 --boundHost your-local-ip
Now, if you navigate to your-local-ip:8081 you should see the chrome element inspector and also a list with the conected devices.