Meltano development: how to debug Singer taps in PyCharm

All you have to do is add a small check to the bottom of you tap.py so you can initiate the Tap by running the python module.
Meltano development: how to debug Singer taps in PyCharm

All you have to do is add a small check to the bottom of you tap.py so you can initiate the Tap by running the python module.if __name__ == '__main__':
   TapTest.cli()

Next, in PyCharms run/debug configuration dialog just set the tap module as your execution entry point and add a parameter so the script finds your configurations.

This allows you to set breakpoints in your code and step into the inner mechanisms of the Meltano/Singer SDK.

Happy debugging!