Debug Activity creator in visual studio

How can I debug/unit test custom activity code logic in visual studio?

I am pointing to target .Net framework 6 and WF is not supported on that version.