debugging workflows and/or activities in VSCode or similar

84 views Asked by At

If we have code for Temporal workflows/activities and want to step through the code line-by-line in a debugger, for example with VSCode, is there any reasonably easy way of doing that?

I saw that there is a Temporal VSCode extension, but it seems to only be written for TypeScript.

I've tried pulling some of my workflow code out of the workflow class to run directly. However it's not so straightforward because there may be additional workflow.* calls which won't work at all if you aren't in the event loop.

0

There are 0 answers