src/vs/platform/windows/electron-main/windowImpl.ts/CodeWindow/profile
class CodeWindow:	get profile(): IUserDataProfile | undefined {
		if (!this.config) {
			return undefined;
		}
		const profile = this.userDataProfilesService.profiles.find(profile => profile.id === this.config?.profiles.profile.id);
		if (this.isExtensionDevelopmentHost && profile) {
			return profile;
		}
		return this.userDataProfilesService.getOrSetProfileForWorkspace(this.config.workspace ?? 'empty-window', profile ?? this.userDataProfilesService.defaultProfile);
	}