Can plugin debuge in xcode attach Glyph?

Can I link glyphs3 to Xcode to facilitate debugging when making plug-ins? I added in debug executable or attach to process, but it doesn’t seem to work.