Telligent 9 debugging

Hi,

If I'm creating a custom plugin for my community, how would I be able to debug the code in that plugin?

Would that require me to have the Telligent Community source code? 

Regards,

Silviu