debugging output for SQL intergration

fix #3