https://docs.microsoft.com/en-us/azu...ic-application
Вообще не очень понятно
The debugger will attach to all nodes running the process.
In the case where you are debugging a stateless service,
all instances of the service on all nodes are part of the debug session.
If you are debugging a stateful service, only
the primary replica of any partition will be active and therefore caught by the debugger. If the primary replica moves during the debug session, the processing of that replica will still be part of the debug session.
In order to only catch relevant partitions or instances of a given service, you can use conditional breakpoints to only break a specific partition or instance.
Conditional breakpoint
Note
Currently we
do not support debugging a Service Fabric cluster
with multiple instances of the same service executable name.