migrated the debugger build script