Interesting! You can not debug your application. The whole purpose of the Arduino Forum and Arduino Borads are to help people learning the MCU hardware and programming and not to acquire the ability of designing commercial gadgets which is the job of the design houses having seasoned Engineers, Programmers, Tools, and Experiences.