socketio client debug code example
Example: debug=true in socketio.run
app = Flask(__name__)
app.debug = True
app.config.from_object(settings)
if __name__ == "__main__":
monkey.patch_all()
listen_address = '0.0.0.0'
listen_port = 5000
print 'Starting Server on: http://{0}:{1}'.format(listen_address, listen_port)
SocketIOServer((listen_address, listen_port), app, resource="socket.io").serve_forever()