MCPcopy Create free account
hub / github.com/Marus/cortex-debug / debuggerLaunchCompleted

Method debuggerLaunchCompleted

src/pemicro.ts:135–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 public serverLaunchCompleted(): void {}
134 public debuggerLaunchStarted(): void {}
135 public debuggerLaunchCompleted(): void {
136 if (this.args.swoConfig.enabled) {
137 const source = this.args.swoConfig.source;
138 if (source === 'socket') {
139 const swoPortNm = createPortName(this.args.targetProcessor, 'swoPort');
140 this.emit('event', new SWOConfigureEvent({
141 type: 'socket',
142 args: this.args,
143 port: this.ports[swoPortNm].toString(10)
144 }));
145 }
146 }
147 }
148}

Callers

nothing calls this directly

Calls 2

createPortNameFunction · 0.90
toStringMethod · 0.80

Tested by

no test coverage detected