If you happen to write flawless code on the first try you should be fine, though
On the other hand I think it should be possible to develop some own libs to perform stdout redirection over the network that would have to be linked to your project. Same goes for true remote debugging via gdb but that will be much harder to implement.
It will be quite a pain since remote debugging almost certainly won't work. Same goes for stdout redirection as offered by the SDK so debug printfs are also out of the question.