04 Jul 2025 11:13 AM
Hi,
I am curious if it's possible to debug app functions with breakpoint pauses.
So far, when I try to fix something that's not working, either I deploy a test version of my app function to dyna could, then call it, and try to make sense of the logs, or run it locally with jest. But in the latter case, I can't call dynatrace callbacks, as when executed with yest, the client library is not initialized.
Ok, I can mock, but the whole point would be to debug with live data.
Any suggestions?
Thanks,
Zoltan
this is an example I want to call and step by step debug:
04 Jul 2025 12:07 PM
Hi Zoltan,
If you created the project through the dt-app CLI you should have a .vscode/launch.json file that includes debugging settings. By running that configuration you can debug your app function using breakpoints