Revert "Revert "Export mono_is_debugger_attached.""

This reverts commit 6dfadc9a46c520239964c1faad5ef42e1d2e1ff8.