Seems the method is deprecated.
Removed debugger statement.