Debug plugin for Bamboo in Intellij IDE

Hi,
I have developed a plugin for Atlassian Bamboo, I want to run and debug bamboo plugin from my local.

Let me know the commands I can use to run and debug the plugin for Bamboo in Intellij IDE.