Add DEBUG flag which increse the number of prints and reduce the delay to read and communication cycles