Hi Niketa,
It depends on the modus you triing to debug it. Go to the preview function and set a breakpoint at function module ssf_function_module_name.
This will stop for sure right in front of your smartforms-call.
From here you got different options, you can debug into it or save the data to test your smartforms via SE37 with the testframe.
~Florian