extensions/typescript-language-features/src/tsServer/serverProcess.electron.ts/ChildServerProcess/getDebugPort
class ChildServerProcess:	private static getDebugPort(kind: TsServerProcessKind): number | undefined {
		if (kind === TsServerProcessKind.Syntax) {
			// We typically only want to debug the main semantic server
			return undefined;
		}
		const value = ChildServerProcess.getTssDebugBrk() || ChildServerProcess.getTssDebug();
		if (value) {
			const port = parseInt(value);
			if (!isNaN(port)) {
				return port;
			}
		}
		return undefined;
	}