title: how to debug python click cli application?
body: <p>I have built a cli application using the <a href="http://click.pocoo.org/6/" rel="noreferrer">click library</a> in python. There is no documentation on how to debug commands. </p>
  
  <p>Without click, its easy to just debug python files in IDE, but when we use click, the commands need to be run through console_scripts setup in setup.py. </p>