Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SergLam/b89d66409e16ea11438326f8f71ba3d0 to your computer and use it in GitHub Desktop.
Save SergLam/b89d66409e16ea11438326f8f71ba3d0 to your computer and use it in GitHub Desktop.
Enables useful debugging panel in macOS apps

Use _NS_4445425547 or NS🐞 for enables debuggging panel. When enabled it, a ladybug 🐞 menu appears in the app menu bar.

“4445425547” means DEBUG in Unicode table.

0x44=D
0x45=E
0x42=B
0x55=U
0x47=G

UserDefaults:

  • _NS_4445425547true or
  • defaults write BUNDLE_IDENTIFIER _NS_4445425547 -bool true

We can use NS🐞 instead of _NS_4445425547.

UserDefaults in Global Domain (Any apps)

  • defaults write -g _NS_4445425547 -bool true

It does not seem to work well with some apps.

"Arguments Passsed on Launch" in scheme settings of Xcode project

  • -_NS_4445425547 true or
  • -NS🐞 true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment