debugging output for SQL intergration

fix #2