Debug managers in cross-compilation.

Debug managers in cross-compilation.