I believe adding debug just executes "alter package X compile debug", so you could create a script to add it to the packages you want. Although, be careful using it on "all the DB objects" because I believe it's not recommended to add it to SYS packages.