Fixed existing profiles returning null.

Added profile debugger, list all profiles.