support for attaching to processes