Debugging Infopath Codebehind (that is part of an SP Workflow) and SP Workflows

They all run under the w3wp process

 In both cases you want to debug "workflow code"