Updated support for debugging with native extensions.