Is it possible to debug plugins with Xcode?

For simple editing and testing you’ll need an editor that supports PHP, JavaScript, and jQuery. For more advanced debugging (server side debugging ) you’ll need an editor that supports Zend Debuger or xdebug(?).

So look to see if Xcode supports your requirements.