code: def debug_out(i):
      
  
      import copy
      import json
  
      ii={}
  
      # Check main unprintable keys
      for k in i:
          try:
             s=json.dumps(i[k])
          except Exception as e: 
             pass
          else:
             ii[k]=i[k]
  
      # Dump
      out(json.dumps(ii, indent=2))
  
      return {'return':0}
docs: Input:  i - dictionary
  
      Output: return = 0