Apply same build rules to the debugger builder