# general


06/21/2018, 11:44 PM
Hi @white-balloon-205 - thanks for your reply and clarifying the current state of dev tools. I'll try to put together my thoughts into a github issue as you suggest. I feel like there are 2 angles... 1 is basic debugging of the pulumi program while 2 is debugging functions that might be ultimately running serverless (e.g. AWS Lambda) but are complex enough to require local debugging and/or unit tests. I suppose there might be a recommended software design/architecture which decomposes at certain boundaries to enable the local debugging/unit testing, and then have the Lambda simply call into the appropriate component to pass the "event" for handling. I might be rambling now, but I think I'm seeing how the needed debugging might be doable today using this decomposition approach.