add parameter for attaching to debugger