debug

 
how can i debug program in mql4? thank you
 
for example print your debug info into log or into some file
 
any else method to do?