I have started building a simple JSON rest API using CB and would love to setup a remote debugger in order to be able to single step through my code a la gdb (specially at the controller layer level). Is it possible to do such a thing with CB? From what I have read, CB is more than just a Run Time library; therefore, I am afraid that the traditional erlang debugger and other tools like the such will not be able to debug these programs. I have tried a lot of things. I am always able to connect to a node using a remote debugger, but putting breakpoints does not seem to work. I have also tried adding the -compile(debug_info). flag to no luck.
Has anybody been able to set this up?