(targets: ITarget[], launcher: ILauncher)
| 430 | } |
| 431 | |
| 432 | private _attachToNewTargets(targets: ITarget[], launcher: ILauncher) { |
| 433 | for (const target of targets.values()) { |
| 434 | if (!target.waitingForDebugger()) { |
| 435 | continue; |
| 436 | } |
| 437 | |
| 438 | const thread = this._threads.get(target); |
| 439 | if (!thread) { |
| 440 | this.attach(target, launcher); |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | _detachOrphanThreads(targets: ITarget[], terminateArgs?: Dap.TerminatedEventParams) { |
| 446 | const set = new Set(targets); |
no test coverage detected