Remote debugging fiasco solved.