Debugging distributed code

The build in debugger from VSCode gets lost once a distributed process is started, is there a way to debug distributed code?