Debugging ObjectWrapper

Hi guys,

I am trying to tinker with GlyphsSDK. Is there a way to debug ObjectWrapper in a real app environment? Seems like using remote scripts is the only way to, but it acts a bit differently.

You can copy or symlink the GlyphsApp folder from the GlyphsSDK repo into ~/Library/Application Support/Glyphs 3/Scripts

cd ~/Library/Application\ Support/Glyphs\ 3/Scripts
ln -s ~/Code/GlyphsSDK/ObjectWrapper/GlyphsApp 

(check the path to the GlyphsSDK repo and adjust it)

To check if it is working, add a print("SDK") somewhere at the top of This will show up the first time the wrapper is imported (so it might be when a plugin is loaded).

1 Like