Agents\Playwright\PlaywrightCliInstaller.cs (14)
143logger.LogDebug("npm is not available on PATH, skipping Playwright CLI installation.");
165logger.LogDebug("Using version override from '{ConfigKey}': {Version}", VersionOverrideKey, versionOverride);
172logger.LogDebug("Resolving {Package}@{Range} from the public npm registry.", PackageName, effectiveRange);
180logger.LogDebug("Resolved {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
189logger.LogDebug(
198logger.LogDebug(
220logger.LogDebug("Downloading {PackageSpecifier} to {TempDir}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version), tempDir);
235logger.LogDebug("Verifying provenance for {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
258logger.LogDebug(
265logger.LogDebug("Installing {PackageSpecifier} globally.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
304logger.LogDebug("Generating Playwright CLI skill files.");
383logger.LogDebug("Mirrored playwright-cli skills to {TargetDir}.", targetSkillDir);
415logger.LogDebug("Removed playwright-cli skills from unselected location: {SkillDir}", skillDir);
453logger?.LogDebug("Removed empty directory: {Dir}", parent);
Agents\VsCode\VsCodeCliRunner.cs (7)
20logger.LogDebug("Checking for VS Code CLI installation using command: {Command}", command);
25logger.LogDebug("VS Code CLI ({Command}) is not installed or not found in PATH", command);
40logger.LogDebug("VS Code CLI ({Command}) returned non-zero exit code {ExitCode}: {Error}", command, result.ExitStatus.ExitCode, result.StandardError.Trim());
48logger.LogDebug("VS Code CLI ({Command}) returned empty version output", command);
57logger.LogDebug("VS Code CLI ({Command}) returned no lines in output", command);
71logger.LogDebug("Found VS Code CLI ({Command}) version: {Version}", command, version);
75logger.LogDebug("Could not parse VS Code CLI ({Command}) version from output: {Output}", command, output.Trim());
Backchannel\AppHostAuxiliaryBackchannel.cs (30)
184logger.LogDebug("Connecting to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath);
200logger.LogDebug("Connected to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath);
269logger.LogDebug("AppHost capabilities: {Capabilities}", capabilities is not null ? string.Join(", ", capabilities) : "null");
279logger.LogDebug("AppHost does not support GetCapabilitiesAsync, assuming v1 only");
299_logger.LogDebug("Requesting AppHost information");
316_logger.LogDebug("Requesting AppHost to stop");
327_logger.LogDebug("Stop request sent to AppHost");
343_logger.LogDebug("Requesting Dashboard URLs");
381_logger.LogDebug("Waiting for AppHost startup readiness");
420_logger.LogDebug("Getting resource snapshots");
469_logger.LogDebug("Starting resource snapshots watch");
511_logger.LogDebug("Getting resource logs for {ResourceName} (follow={Follow})", resourceName ?? "all resources", follow);
554_logger.LogDebug("Requesting AppHost to call MCP tool {ToolName} on resource {ResourceName}", toolName, resourceName);
596_logger.LogDebug("Getting AppHost info (v2)");
640_logger.LogDebug("Getting Dashboard info (v2)");
681_logger.LogDebug("Getting resources (v2)");
721_logger.LogDebug("Watching resources (v2)");
823_logger.LogDebug("Getting console log batches (v3) for {ResourceName}", request.ResourceName);
874_logger.LogDebug("Getting console logs (v2) for {ResourceName}", request.ResourceName);
947_logger.LogDebug("Calling MCP tool (v2) {ToolName} on {ResourceName}", request.ToolName, request.ResourceName);
967_logger.LogDebug("Stopping AppHost and waiting for resource cleanup");
996_logger.LogDebug("Stopping AppHost (v2)");
1028_logger.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName);
1047_logger.LogDebug("Command '{CommandName}' on resource '{ResourceName}' completed with success={Success} and message='{Message}'", commandName, resourceName, response.Success, response.Message);
1070_logger.LogDebug("Waiting for resource '{ResourceName}' to reach status '{Status}' with timeout {Timeout}s", resourceName, status, timeoutSeconds);
1086_logger.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.State);
1107_logger?.LogDebug("Getting terminal info for resource '{ResourceName}'", resourceName);
1116_logger?.LogDebug("Terminal info for '{ResourceName}': available={Available}, replicas={ReplicaCount}",
1137_logger?.LogDebug("Listing all terminal-enabled resources.");
1146_logger?.LogDebug("ListTerminals returned {Count} terminal-enabled resource(s).", response.ResourceTerminals.Length);
Backchannel\AppHostCliBackchannel.cs (20)
81logger.LogDebug("Requesting stop");
105logger.LogDebug("Notifying AppHost startup readiness");
137logger.LogDebug("Requesting dashboard URL");
191logger.LogDebug("Requesting {OperationName}", operationName);
195logger.LogDebug("Received {OperationName} async enumerable", operationName);
199logger.LogDebug("Connection lost while getting {OperationName}, waiting for reconnect...", operationName);
251logger.LogDebug("Connection lost during enumeration, will restart after reconnect");
267logger.LogDebug("Ignoring connection lost exception during enumerator disposal");
309logger.LogDebug("Reconnection completed successfully");
351logger.LogDebug("Connected to AppHost backchannel at {SocketPath} (retryCount={RetryCount})", socketPath, retryCount);
418logger.LogDebug("Backchannel disconnected but reconnection already in progress, ignoring.");
447logger.LogDebug("Backchannel disconnected: {Reason}", args.Reason);
458logger.LogDebug("Resetting backchannel for reconnection");
515logger.LogDebug("Requesting capabilities");
532logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId);
547logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId);
562logger.LogDebug("Requesting pipeline steps.");
571logger.LogDebug("Received {StepCount} pipeline steps.", response.Steps.Length);
580logger.LogDebug("Uploading file {FileName} from {FilePath}", fileName, filePath);
610logger.LogDebug("File uploaded with ID {FileId}", response.FileId);
Backchannel\AuxiliaryBackchannelMonitor.cs (13)
295logger.LogDebug("Current command is not MCP start command. Auxiliary backchannel monitoring disabled.");
324logger.LogDebug("No command selected within timeout. Auxiliary backchannel monitoring not needed.");
415logger.LogDebug("Socket created: {SocketPath}", newSocket.SocketPath);
423logger.LogDebug("Socket deleted: {SocketPath}", removedFile);
474logger.LogDebug("Marked failed socket for retry on next scan: {SocketPath}", failedSocket);
494logger.LogDebug("Already connected to socket: {SocketPath}", socketPath);
523logger.LogDebug("Retrying connection to auxiliary socket: {SocketPath}", socketPath);
556logger.LogDebug("Socket connection refused but file is new ({Age}ms old), will retry: {SocketPath}", (int)socketAge.TotalMilliseconds, socketPath);
562logger.LogDebug("Socket connection refused (stale socket): {SocketPath}", socketPath);
577logger.LogDebug("Socket not ready yet, will retry: {SocketPath}", socketPath);
590logger.LogDebug("Socket connection timed out after {ElapsedSeconds} seconds: {SocketPath}", maxElapsed.TotalSeconds, socketPath);
658logger.LogDebug("Cancelled while establishing the backchannel for socket: {SocketPath}", socketPath);
742logger.LogDebug(
Backchannel\ExtensionBackchannel.cs (31)
160_logger.LogDebug("Starting backchannel connection to Aspire extension at {Endpoint}", endpoint);
171_logger.LogDebug("Connected to ExtensionBackchannel at {Endpoint}", endpoint);
181_logger.LogDebug("Slow polling for backchannel connection (attempt {ConnectionAttempts}), {SocketException}", connectionAttempts, ex);
255_logger.LogDebug("Connecting to {Name} backchannel at {SocketPath}", Name, endpoint);
265_logger.LogDebug("Connected to {Name} backchannel at {SocketPath}", Name, endpoint);
356_logger.LogDebug("Sent message {Message}", message);
372_logger.LogDebug("Sent message {Message} with {ActionCount} actions", message, actions.Length);
388_logger.LogDebug("Sent success message {Message}", message);
404_logger.LogDebug("Sent subtle message {Message}", message);
420_logger.LogDebug("Sent error message {Error}", error);
436_logger.LogDebug("Sent error message with {ActionCount} actions", actions.Length);
452_logger.LogDebug("Sent empty line");
468_logger.LogDebug("Sent incompatible version error for capability {RequiredCapability} with hosting SDK version {AppHostHostingSdkVersion}",
485_logger.LogDebug("Sent cancellation message");
501_logger.LogDebug("Sent lines for display");
517_logger.LogDebug("Sent dashboard URLs for display");
533_logger.LogDebug("Sent status update: {Status}", status);
554_logger.LogDebug("Prompting for selection with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys);
587_logger.LogDebug("Prompting for multiple selections with text: {PromptText}, choices: {Choices}", promptText, choicesByFormattedValue.Keys);
612_logger.LogDebug("Prompting for confirmation with text: {PromptText}, default value: {DefaultValue}", promptText, defaultValue);
638_logger.LogDebug("Prompting for string with text: {PromptText}, default value: {DefaultValue}, required: {Required}", promptText, defaultValue, required);
664_logger.LogDebug("Prompting for secret string with text: {PromptText}, required: {Required}", promptText, required);
688_logger.LogDebug("Prompting for file path with text: {PromptText}, default value: {DefaultValue}, directory: {Directory}", promptText, defaultValue, directory);
706_logger.LogDebug("Opening path: {Path}", path);
741_logger.LogDebug("Sent plain text message {Message}", text);
757_logger.LogDebug("Sent debug session message {Message}", message);
793_logger.LogDebug("Requesting capabilities from the extension");
811_logger.LogDebug("Running project at {ProjectFile} with {ArgumentCount} arguments", projectFile, arguments.Count);
827_logger.LogDebug("Notifying that app host startup is completed");
844_logger.LogDebug("Starting extension debugging session in directory {WorkingDirectory} for project file {ProjectFile} with command={Command} debug={Debug}",
861_logger.LogDebug("Stopping extension debugging session");
Bundles\BundleService.cs (19)
90logger.LogDebug("Ensuring bundle is extracted to {ExtractDir}.", extractDir);
128logger.LogDebug("Could not resolve an active bundle version under {ExtractDir}.", extractDir);
152logger.LogDebug("No embedded bundle payload.");
158logger.LogDebug("Acquiring bundle extraction lock at {LockPath}...", lockPath);
160logger.LogDebug("Bundle extraction lock acquired.");
177logger.LogDebug("Bundle already extracted and up to date (version: {Version}).", existingVersion);
181logger.LogDebug("Version mismatch: existing={ExistingVersion}, current={CurrentVersion}. Re-extracting.", existingVersion, currentVersion);
197logger.LogDebug("No embedded bundle payload, skipping extraction.");
204logger.LogDebug("ProcessPath is null or empty, skipping bundle extraction.");
224logger.LogDebug("Could not determine extraction directory from {ProcessPath}, skipping.", processPath);
248logger.LogDebug("Versioned layout {Path} not valid or missing; extracting fresh.", activeVersionDir);
256logger.LogDebug("Reusing existing versioned layout at {Path}.", activeVersionDir);
285logger.LogDebug("Version marker written (version: {Version}).", currentVersion);
303logger.LogDebug("Bundle extraction verified successfully.");
336logger.LogDebug("Payload extraction into {Path} completed in {ElapsedMs}ms.", tempDir, sw.ElapsedMilliseconds);
416logger.LogDebug(
531logger.LogDebug("Migrating legacy directory at {Path} to {Renamed}.", linkPath, renamedPath);
546logger.LogDebug("Linked {Link} -> {Target}", linkPath, target);
766logger.LogDebug("Removed legacy directory at {Path}.", legacyPath);
Certificates\CertificateGeneration\CertificateManager.cs (63)
1055_logger.LogDebug("Listing certificates from {Location}\\{StoreName}", location, storeName);
1059_logger.LogDebug("Found certificates: {MatchingCertificates}", matchingCertificates);
1063_logger.LogDebug("Checking certificates validity");
1067_logger.LogDebug("Valid certificates: {ValidCertificates}", validCertificates);
1071_logger.LogDebug("Invalid certificates: {InvalidCertificates}", invalidCertificates);
1075_logger.LogDebug("Finished listing certificates.");
1083_logger.LogDebug("Filtered certificates: {FilteredCertificates}", filteredCertificates);
1087_logger.LogDebug("Excluded certificates: {ExcludedCertificates}", excludedCertificates);
1091_logger.LogDebug("Valid certificates: {Certificates}", certificates);
1095_logger.LogDebug("Selected certificate: {Certificate}", certificate);
1099_logger.LogDebug("No valid certificates found.");
1103_logger.LogDebug("Generating HTTPS development certificate.");
1107_logger.LogDebug("Finished generating HTTPS development certificate.");
1115_logger.LogDebug("Saving certificate '{Certificate}' to store {Location}\\{StoreName}.", certificate, location, name);
1119_logger.LogDebug("Finished saving certificate to the store.");
1127_logger.LogDebug("Saving certificate '{Certificate}' to {Path} {PrivateKey} private key.", certificate, path, includePrivateKey ? "with" : "without");
1131_logger.LogDebug("Exporting certificate with private key but no password.");
1135_logger.LogDebug("Creating directory {Path}.", path);
1143_logger.LogDebug("Writing the certificate to: {Path}.", path);
1151_logger.LogDebug("Trusting the certificate to: {Certificate}.", certificate);
1155_logger.LogDebug("Finished trusting the certificate.");
1163_logger.LogDebug("Running the trust command {Command}.", command);
1167_logger.LogDebug("Finished running the trust command.");
1175_logger.LogDebug("Running the remove trust command for {Certificate}.", certificate);
1179_logger.LogDebug("Finished running the remove trust command.");
1187_logger.LogDebug("The certificate is not trusted: {Certificate}.", certificate);
1191_logger.LogDebug("Removing the certificate from the keychain {KeyChain} {Certificate}.", keyChain, certificate);
1195_logger.LogDebug("Finished removing the certificate from the keychain.");
1203_logger.LogDebug("Removing the certificate from the user store {Certificate}.", certificate);
1207_logger.LogDebug("Finished removing the certificate from the user store.");
1215_logger.LogDebug("Adding certificate to the trusted root certification authority store.");
1219_logger.LogDebug("The certificate is already trusted.");
1223_logger.LogDebug("Trusting the certificate was cancelled by the user.");
1227_logger.LogDebug("Removing the certificate from the trusted root certification authority store.");
1231_logger.LogDebug("Finished removing the certificate from the trusted root certification authority store.");
1235_logger.LogDebug("The certificate was not trusted.");
1239_logger.LogDebug("Correcting the the certificate state for '{Certificate}'.", certificate);
1243_logger.LogDebug("Finished correcting the certificate state.");
1251_logger.LogDebug("Importing the certificate {Certificate} to the keychain '{Keychain}'.", certificate, keychain);
1255_logger.LogDebug("Finished importing the certificate to the keychain.");
1263_logger.LogDebug("Writing the certificate to: {Path}.", path);
1279_logger.LogDebug("Loading certificate from path '{CertificatePath}'.", certificatePath);
1283_logger.LogDebug("The certificate '{Description}' has been loaded successfully.", description);
1295_logger.LogDebug("The certificate is already trusted.");
1299_logger.LogDebug("Saving the certificate {Certificate} to the user profile folder '{Directory}'.", certificate, directory);
1303_logger.LogDebug("Finished saving the certificate to the user profile folder.");
1323_logger.LogDebug("Reading OpenSSL trusted certificates location from {NssDbOverrideVariableName}.", nssDbOverrideVariableName);
1327_logger.LogDebug("Reading NSS database locations from {Source}.", source);
1347_logger.LogDebug("Home directory '{HomeDirectory}' does not exist. Unable to discover NSS databases for user '{Username}'. This will likely affect browsers.", homeDirectory, username);
1351_logger.LogDebug("OpenSSL reported its directory in an unexpected format.");
1355_logger.LogDebug("Unable to determine the OpenSSL directory.");
1359_logger.LogDebug("Unable to determine the OpenSSL directory: {ExceptionMessage}.", exceptionMessage);
1383_logger.LogDebug("Trusted the certificate in .NET.");
1391_logger.LogDebug("Trusted the certificate in OpenSSL.");
1399_logger.LogDebug("Trusted the certificate in the NSS database in '{Path}'.", path);
1411_logger.LogDebug("Untrusted the certificate in OpenSSL.");
1419_logger.LogDebug("Removed the certificate from the NSS database in '{Path}'.", path);
1443_logger.LogDebug("No Firefox profiles found in directory '{FirefoxDirectory}'.", firefoxDirectory);
1463_logger.LogDebug("Untrusting the certificate in OpenSSL was skipped since '{CertPath}' does not exist.", certPath);
1487_logger.LogDebug("The certificate directory '{CertDir}' is already included in the {EnvVarName} environment variable.", certDir, envVarName);
1495_logger.LogDebug("Successfully trusted the certificate in the Windows certificate store via WSL.");
1507_logger.LogDebug("Meets minimum version certificates: {MeetsMinimumVersionCertificates}", meetsMinimumVersionCertificates);
1511_logger.LogDebug("Below minimum version certificates: {BelowMinimumVersionCertificates}", belowMinimumVersionCertificates);
Commands\NewCommand.cs (8)
362_logger.LogDebug("Skipping configured template sources because an explicit package source, version, channel, or language option was specified.");
369_logger.LogDebug("Prompting with {BuiltInTemplateCount} built-in templates only; no configured template sources are in use.", templatesForPrompt.Length);
393_logger.LogDebug("Prompting with {BuiltInTemplateCount} built-in templates and {ConfiguredTemplateCount} templates from {ConfiguredSourceCount} configured template sources.",
411_logger.LogDebug("Selected template {TemplateName} from configured template source {SourceName}.",
416_logger.LogDebug("Selected built-in template {TemplateName}.", selection.Template.Name);
773_logger.LogDebug("Selected template {TemplateName} from the explicit template source ({TemplateCount} discovered, repository: {IsRepository}, auto-selected: {AutoSelected}).",
794_logger.LogDebug("Applying source template {TemplateName}.", template.Name);
800_logger.LogDebug("Source template {TemplateName} completed with exit code {ExitCode}.", template.Name, result.ExitCode);
Configuration\ConfigSourceService.cs (50)
96logger.LogDebug("Skipping configuration source advisory scheduling: already scheduled {AlreadyScheduled}, stopping {Stopping}, explicit refresh {ExplicitRefresh}.",
101logger.LogDebug("Scheduling configuration source advisory check for {ProjectDirectory}.", projectDirectory.FullName);
117logger.LogDebug("Non-fatal configuration source check failure ({FailureType}).", ex.GetType().Name);
197logger.LogDebug("No explicit configuration source URL is set; checking Microsoft machine detection.");
201logger.LogDebug("No configuration source candidate was selected. Microsoft machine detection outcome: {Outcome}.", detection.Outcome);
212logger.LogDebug("Selecting configuration source from {Origin}.",
245logger.LogDebug("Configuration source consent is required, but interactive input is disabled.");
248logger.LogDebug("Prompting for configuration source consent.");
253logger.LogDebug("Configuration source consent: {Accepted}; supplied by command option: {ExplicitConsent}.",
300logger.LogDebug("Preserving existing configuration source binding during initialization in {ConfigPath}.", path);
327logger.LogDebug("Preserving existing configuration source binding during package update in {ConfigPath}.", path);
335logger.LogDebug("Skipping configuration source adoption during unattended package update without explicit consent.");
360logger.LogDebug("Saved configuration source opt-out in {ConfigPath}.", path);
379logger.LogDebug("Using the creation-time configuration source selection for template discovery.");
388logger.LogDebug("Skipping configuration source template inheritance because no explicit source URL is set.");
405logger.LogDebug("Skipping configuration source template inheritance because the source was declined.");
427logger.LogDebug("Inheriting template source {SourceName} from the configuration source.", name);
432logger.LogDebug("Loaded {SourceCount} inherited template sources from the configuration source.", sources.Count);
454logger.LogDebug("Cannot apply configuration source because the binding changed in {ConfigPath}.", path);
464logger.LogDebug("Configuration source does not supply {Section}; preserving the local section.", setting);
468logger.LogDebug("Replacing local {Section} with the configuration source section.", setting);
508logger.LogDebug("Configuration source application completed for {ConfigPath}; settings changed: {Changed}.", path, changed);
533logger.LogDebug("Skipping automatic configuration source check because an explicit refresh was requested.");
542logger.LogDebug("Skipping configuration source check because this project was already checked.");
550logger.LogDebug("Checking configuration source: config file found {ConfigFound}, binding found {BindingFound}, opted out {OptOut}, forced refresh {Force}.",
572logger.LogDebug("Skipping configuration source version comparison because the binding has no applied version.");
578logger.LogDebug("Configuration source version comparison completed; update available: {UpdateAvailable}.",
594logger.LogDebug("Configuration source version check failed ({FailureType}).", exception.GetType().Name);
680logger.LogDebug("Reusing the in-memory configuration source snapshot.");
687logger.LogDebug("Acquiring configuration source into {CacheDirectory}; forced refresh: {Force}, interactive input allowed: {Interactive}.",
729logger.LogDebug("Published configuration source snapshot in {CacheDirectory} at commit {Commit}, version {Version}.",
745logger.LogDebug("Configuration source snapshot cleanup failed ({FailureType}).", ex.GetType().Name);
751logger.LogDebug("Configuration source acquisition failed ({FailureType}); no new snapshot was published.", ex.GetType().Name);
759logger.LogDebug("The configuration source README URL is invalid; access help is unavailable.");
795logger.LogDebug("Configuration source version-check cache metadata is invalid.");
806logger.LogDebug("Reusing cached configuration source version check from {CheckedAt}.", previous.CheckedAt);
809logger.LogDebug("Revalidating configuration source version: cache age {CacheAge}, applied version matches cached version {MatchesVersion}, applied version previously compared {PreviouslyCompared}.",
814logger.LogDebug("No cached configuration source version check was found.");
816logger.LogDebug("Checking configuration source repository version without interactive input.");
830logger.LogDebug("Saved configuration source version check at commit {Commit}, version {Version}.", commit, version);
878logger.LogDebug("Configuration source repository acquisition failed: {Failure}, exit code {ExitCode}.", ex.Failure, ex.ExitCode);
883logger.LogDebug("Configuration source repository acquisition timed out.");
905logger.LogDebug("Configuration source repository version check failed: {Failure}, exit code {ExitCode}.", ex.Failure, ex.ExitCode);
910logger.LogDebug("Configuration source repository version check timed out.");
923logger.LogDebug("Resolving configuration source repository reference; Git mode: {Mode}, selector: {Selector}.",
932logger.LogDebug("Configuration source repository reference could not be resolved.");
935logger.LogDebug("Resolved configuration source repository reference to commit {Commit}.", resolvedCommit);
948logger.LogDebug("Fetched configuration source repository at commit {Commit}.", commit);
953logger.LogDebug("Configuration source file is missing or is not a blob.");
1013logger.LogDebug("Configuration source directory cleanup failed ({FailureType}).", ex.GetType().Name);
Documentation\FileBackedDocumentContentCache.cs (15)
37_logger.LogDebug("Content cache memory hit for key: {Key}", key);
45_logger.LogDebug("Content cache disk hit for key: {Key}", key);
49_logger.LogDebug("Content cache miss for key: {Key}", key);
65_logger.LogDebug("Content cache set for key: {Key}", key);
81_logger.LogDebug("ETag cache memory hit for key: {Key}", key);
90_logger.LogDebug("ETag cache disk hit for key: {Key}", key);
94_logger.LogDebug("ETag cache miss for key: {Key}", key);
113_logger.LogDebug("ETag cache cleared for key: {Key}", key);
119_logger.LogDebug("ETag cache set for key: {Key}", key);
133_logger.LogDebug("Content cache invalidated key: {Key}", key);
148_logger.LogDebug("JSON cache invalidated key: {Key}", key);
183_logger.LogDebug("JSON cache memory hit for key: {Key}", key);
192_logger.LogDebug("JSON cache miss for key: {Key}", key);
201_logger.LogDebug("JSON cache disk hit for key: {Key}", key);
244_logger.LogDebug("JSON cache set for key: {Key}", key);
Git\GitCommandRunner.cs (8)
302logger.LogDebug("OpenSSH verification completed after {Elapsed}; exit code {ExitCode}, failure {Failure}, cancelled {Cancelled}.",
364logger.LogDebug("Starting Git process.");
365using var registration = cancellationToken.Register(() => logger.LogDebug("Git cancellation requested after {Elapsed}.", stopwatch.Elapsed));
370logger.LogDebug("Git process {ProcessId} started after {Elapsed}.", process.Id, stopwatch.Elapsed);
383logger.LogDebug("Git stdout: {Output}", output.TrimEndLine());
391logger.LogDebug("Git stderr: {Output}", output.TrimEndLine());
398logger.LogDebug("Git process {ProcessId} output drained after {Elapsed}.", process.Id, stopwatch.Elapsed);
402logger.LogDebug("Git process completed after {Elapsed}; exit code {ExitCode}, failure {Failure}, cancelled {Cancelled}.",
Git\GitRepository.cs (11)
23logger.LogDebug("Searching for Git repository root from working directory: {WorkingDirectory}", executionContext.WorkingDirectory.FullName);
35logger.LogDebug("Git command returned non-zero exit code {ExitCode}: {Error}", result.ExitStatus.ExitCode, result.StandardError.Trim());
43logger.LogDebug("Git command returned empty output");
50logger.LogDebug("Found Git repository root: {GitRoot}", directoryInfo.FullName);
54logger.LogDebug("Git repository root path does not exist: {GitRoot}", rootPath);
73logger.LogDebug("Search root does not exist: {SearchRoot}", searchRoot.FullName);
77logger.LogDebug("Listing git-included files under: {SearchRoot}", searchRoot.FullName);
92logger.LogDebug("git ls-files returned non-zero exit code {ExitCode} from {SearchRoot}: {Error}", result.ExitStatus.ExitCode, searchRoot.FullName, result.StandardError.Trim());
116logger.LogDebug("git ls-files returned {Count} files under {SearchRoot}", includedFiles.Count, searchRoot.FullName);
147logger.LogDebug("Git stdout: {Output}", result.StandardOutput.TrimEndLine());
148logger.LogDebug("Git stderr: {Output}", result.StandardError.TrimEndLine());
Layout\LayoutDiscovery.cs (40)
60_logger.LogDebug("Found ASPIRE_LAYOUT_PATH: {Path}", envLayoutPath);
72_logger.LogDebug("Discovered layout relative to CLI: {Path}", relativeLayout.LayoutPath);
87_logger.LogDebug("Discovered layout in Aspire home: {Path}", aspireHomeLayout.LayoutPath);
91_logger.LogDebug("No bundle layout discovered");
113_logger.LogDebug("TryDiscoverAspireHomeLayout: Checking Aspire home {Path}...", aspireHome);
144_logger.LogDebug("SDK mode forced via {EnvVar}", BundleDiscovery.UseGlobalDotNetEnvVar);
160_logger.LogDebug("TryLoadLayoutFromPath: {Path}", layoutPath);
164_logger.LogDebug("Layout path does not exist: {Path}", layoutPath);
168_logger.LogDebug("Layout path exists, checking directory structure...");
174_logger.LogDebug("Layout directory contents: {Contents}", string.Join(", ", entries));
178_logger.LogDebug("Could not list directory contents: {Error}", ex.Message);
190_logger.LogDebug("TryDiscoverRelativeLayout: ProcessPath is null or empty");
197_logger.LogDebug("TryDiscoverRelativeLayout: Resolved CLI path {RawPath} -> {ResolvedPath}", cliPath, resolvedCliPath);
205_logger.LogDebug("TryDiscoverRelativeLayout: No layout found relative to resolved CLI path; trying raw path {Path}.", cliPath);
216_logger.LogDebug("TryDiscoverRelativeLayout: Could not get directory from process path {Path}", cliPath);
220_logger.LogDebug("TryDiscoverRelativeLayout: CLI at {Path}, checking for layout...", cliDir);
236_logger.LogDebug("TryDiscoverRelativeLayout: Checking parent directory {Path}...", parentDir);
258_logger.LogDebug("TryInferLayout: Checking layout at {Path}", layoutPath);
259_logger.LogDebug(" {Dir}/{Managed}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, Directory.Exists(bundleManagedPath) ? "exists" : "MISSING");
260_logger.LogDebug(" {Dir}/{Dashboard}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DashboardDirectoryName, Directory.Exists(bundleDashboardPath) ? "exists" : "MISSING");
261_logger.LogDebug(" {Dir}/{Dcp}/: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Directory.Exists(bundleDcpPath) ? "exists" : "MISSING");
267_logger.LogDebug(" {Dir}/{Managed}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.ManagedDirectoryName, managedExeName, File.Exists(bundleManagedExe) ? "exists" : "MISSING");
268_logger.LogDebug(" {Dir}/{Dashboard}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DashboardDirectoryName, dashboardExeName, File.Exists(bundleDashboardExe) ? "exists" : "MISSING");
269_logger.LogDebug(" {Dir}/{Dcp}/{Exe}: {Exists}", BundleDiscovery.BundleDirectoryName, BundleDiscovery.DcpDirectoryName, Path.GetFileName(bundleDcpExe), File.Exists(bundleDcpExe) ? "exists" : "MISSING");
274_logger.LogDebug("TryInferLayout: New bundle/ layout is valid");
297_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.ManagedDirectoryName, Directory.Exists(managedPath) ? "exists" : "MISSING");
298_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DashboardDirectoryName, Directory.Exists(dashboardPath) ? "exists" : "MISSING");
299_logger.LogDebug(" {Dir}/: {Exists}", BundleDiscovery.DcpDirectoryName, Directory.Exists(dcpPath) ? "exists" : "MISSING");
303_logger.LogDebug("TryInferLayout: Layout rejected - missing required directories");
310_logger.LogDebug(" managed/{ManagedExe}: {Exists}", managedExeName, File.Exists(managedExePath) ? "exists" : "MISSING");
311_logger.LogDebug(" dashboard/{DashboardExe}: {Exists}", dashboardExeName, File.Exists(dashboardExePath) ? "exists" : "MISSING");
312_logger.LogDebug(" dcp/{DcpExe}: {Exists}", Path.GetFileName(dcpExePath), File.Exists(dcpExePath) ? "exists" : "MISSING");
317_logger.LogDebug("TryInferLayout: Layout rejected - required executable not found");
321_logger.LogDebug("TryInferLayout: Flat layout is valid");
352_logger.LogDebug("DCP path override from {EnvVar}", BundleDiscovery.DcpPathEnvVar);
356_logger.LogDebug("Managed path override from {EnvVar}", BundleDiscovery.ManagedPathEnvVar);
368_logger.LogDebug("Layout validation failed: aspire-managed not found at {Path}", managedPath);
375_logger.LogDebug("Layout validation failed: Dashboard not found at {Path}", dashboardPath);
382_logger.LogDebug("Layout validation failed: TerminalHost not found at {Path}", terminalHostPath);
392_logger.LogDebug("Layout validation failed: DCP not found");
Npm\NpmRunner.cs (16)
44logger.LogDebug("Resolving npm package {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange));
61logger.LogDebug("Failed to resolve version for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange));
67logger.LogDebug("Could not extract version from npm output: {Output}", versionOutput.Trim());
73logger.LogDebug("Could not parse npm version from output: {Output}", versionString);
77logger.LogDebug("Resolved {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
99logger.LogDebug("Packing npm package {PackageSpecifier} to {OutputDirectory}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), outputDirectory);
109logger.LogDebug("Failed to pack {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
117logger.LogDebug("npm pack returned empty filename");
124logger.LogDebug("npm pack output file not found: {Path}", tarballPath);
128logger.LogDebug("Packed {PackageSpecifier} to {TarballPath}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), tarballPath);
142logger.LogDebug("Installing npm package globally from {TarballPath}", tarballPath);
160logger.LogDebug("Failed to install npm package globally from {TarballPath}", tarballPath);
164logger.LogDebug("Successfully installed npm package globally from {TarballPath}", tarballPath);
178logger.LogDebug("npm is not installed or not found in PATH");
275logger.LogDebug("Running npm {Args} in {WorkingDirectory}", argsString, workingDirectory);
290logger.LogDebug("npm {Args} returned non-zero exit code {ExitCode}: {Error}", argsString, result.ExitStatus.ExitCode, result.StandardError.Trim());
Npm\SigstoreNpmProvenanceChecker.cs (9)
71_logger.LogDebug("Verifying provenance for {PackageSpecifier} from {ExpectedSourceRepository}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), expectedSourceRepository);
76_logger.LogDebug("Attestation fetch failed for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
87_logger.LogDebug("SLSA bundle extraction failed for {PackageSpecifier}: {Outcome}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), outcome);
123_logger.LogDebug(
134_logger.LogDebug("Failed to extract provenance data from verified result for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
142_logger.LogDebug("Provenance verification for {PackageSpecifier} completed with outcome {Outcome}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), result.Outcome);
158_logger.LogDebug("Fetching attestations from {Url}", url);
163_logger.LogDebug("Failed to fetch attestations: HTTP {StatusCode}", response.StatusCode);
278_logger.LogDebug(
Processes\ProcessTreeGracefulShutdownService.cs (8)
141logger.LogDebug("Forcing remaining shutdown handle process {Pid} to terminate.", process.Pid);
169logger.LogDebug("Sending graceful shutdown to AppHost PID {Pid}", appHostInfo.ProcessId);
180logger.LogDebug("Requesting AppHost process tree shutdown via root CLI PID {Pid}", cliPid);
195logger.LogDebug("RPC stop not available, requesting shutdown via AppHost PID {Pid}", appHostInfo.ProcessId);
264logger.LogDebug("Sending stop signal to process {Pid}", target.Pid);
330logger.LogDebug("DCP stop-process-tree stdout: {Output}", output.Trim());
335logger.LogDebug("DCP stop-process-tree stderr: {Error}", error.Trim());
400logger.LogDebug("Killing process {Pid} (entireProcessTree={EntireProcessTree})...", target.Pid, killEntireProcessTree);
Projects\GuestAppHostProject.cs (20)
153_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
158_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
435_logger.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies.");
532_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
540_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
547_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
557_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
1314_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
1320_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1376_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1425_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1435_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1756_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1772_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1782_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1786_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1834_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
2125_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
2334_logger.LogDebug(
2552_logger.LogDebug("Created GuestRuntime for {RuntimeDisplayName}: Execute={Command} {Args}",
Projects\ProcessGuestLauncher.cs (3)
68_logger.LogDebug("{ExecutingCommandPrefix}{Command} {Args}", CliLogFormat.MessagePrefixes.Executing, resolvedCommand, string.Join(" ", args));
151_logger.LogDebug("{Language} guest process {ProcessId} started: {Command}", _language, execution.ProcessId, resolvedCommand);
181_logger.LogDebug("{Language} guest process {ProcessId} exited with code {ExitCode}", _language, execution.ProcessId, finalExitCode);
Projects\ProjectLocator.cs (30)
331logger.LogDebug("Searching for project files in {SearchDirectory}", searchDirectory.FullName);
361logger.LogDebug("Searching for patterns: {Patterns}", string.Join(", ", allPatterns));
364logger.LogDebug("NuGet cache path to exclude: {NuGetCachePath}", nugetCachePath ?? "(none)");
374logger.LogDebug("Found {CandidateCount} files matching pattern '{Pattern}'", candidateCountsByPattern[pattern], pattern);
377logger.LogDebug("Found {CandidateCount} unique candidate files matching AppHost detection patterns", candidateFiles.Length);
381logger.LogDebug("Checking candidate file {CandidateFile}", candidateFile.FullName);
428logger.LogDebug("Found {Language} apphost {CandidateFile}", handler.DisplayName, candidateFile.FullName);
454logger.LogDebug("Skipping unsupported project {CandidateFile}", candidateFile.FullName);
483logger.LogDebug("Stopping AppHost discovery early after finding multiple valid AppHost projects.");
550logger.LogDebug("Skipping configured AppHost project {SettingsAppHost} because no project handler was found.", settingsAppHost.FullName);
588logger.LogDebug("Skipping unsupported configured AppHost project {SettingsAppHost}", settingsAppHost.FullName);
933logger.LogDebug("Finding project file in {CurrentDirectory}", executionContext.WorkingDirectory);
941logger.LogDebug("Provided path {Path} is a directory, searching for project files recursively", projectFile.FullName);
983logger.LogDebug(
1011logger.LogDebug("Found single AppHost project file {ProjectFile} in directory {Directory}", appHostProjects[0].FullName, directory.FullName);
1018logger.LogDebug("Multiple AppHost project files found in directory {Directory}, prompting user to select", directory.FullName);
1029logger.LogDebug("Multiple AppHost project files found in directory {Directory}, selecting none", directory.FullName);
1050logger.LogDebug(
1076logger.LogDebug("Using {Language} apphost {ProjectFile}", handler.DisplayName, projectFile.FullName);
1096logger.LogDebug(
1124logger.LogDebug("Using AppHost path from settings without scanning: {AppHost}", settingsAppHost.FullName);
1136logger.LogDebug("No project file specified, searching for apphost projects in {CurrentDirectory}", executionContext.WorkingDirectory);
1150logger.LogDebug("Found {ProjectFileCount} project files.", results.BuildableAppHost.Count);
1207logger.LogDebug("Using previously-selected AppHost from settings: {AppHost}", settingsAppHost.FullName);
1319logger.LogDebug(
1330logger.LogDebug(
1339logger.LogDebug("Creating settings file at {SettingsFilePath}", settingsFile.FullName);
1362logger.LogDebug("Set SDK version {Version} in settings file (inherited from parent config)", inheritedSdkVersion);
1396logger.LogDebug("Using existing config file at {Path}", configuredSettingsFile.FullName);
1403logger.LogDebug("Will use workspace config at {Path}", newConfigPath);
src\Shared\ChildProcess.cs (7)
178_logger.LogDebug("{FileName}({ProcessId}) started in {WorkingDirectory}", FileName, _processId, _startInfo.WorkingDirectory);
261_logger.LogDebug("{FileName}({ProcessId}) waiting for exit", FileName, _processId);
269_logger.LogDebug("{FileName}({ProcessId}) wait was canceled, stopping it", FileName, _processId);
299_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", FileName, _processId, exitCode);
514_logger.LogDebug("{FileName} process {ProcessId} already exited.", FileName, process.Id);
530_logger.LogDebug(
660_logger.LogDebug("{FileName}({ProcessId}) output drained", FileName, _processId);
src\Shared\ContainerRuntimeProbe.cs (10)
116logger?.LogDebug("{Name} is not supported on this host.", name);
129logger?.LogDebug("Probing container runtime '{Name}' ({Executable})...", name, executable);
188logger?.LogDebug("{Name} is running, gathering version info...", name);
190logger?.LogDebug("{Name}: client={ClientVersion}, server={ServerVersion}, desktop={IsDesktop}", name, versionInfo.ClientVersion, versionInfo.ServerVersion, versionInfo.IsDockerDesktop);
214logger?.LogDebug("{Name}: exit code {ExitCode}, installed={IsInstalled}", name, process.ExitCode, isInstalled);
228logger?.LogDebug("{Name}: {Error}", name, error);
245logger?.LogDebug("{Name}: not found on PATH ({ExceptionMessage})", name, ex.Message);
293logger?.LogDebug("{Name} installation probe failed with exit code {ExitCode}: {Error}",
406logger?.LogDebug("{Name} metadata command timed out.", name);
419logger?.LogDebug("{Name} metadata command failed with exit code {ExitCode}: {Error}",
Templating\CliTemplateFactory.cs (4)
319_logger.LogDebug("Copying embedded template tree '{TemplateRoot}' to '{OutputPath}'.", templateRoot, outputPath);
330_logger.LogDebug("No embedded resources found for template root '{TemplateRoot}'. Available manifest resources: {ManifestResources}", templateRoot, string.Join(", ", allResourceNames));
334_logger.LogDebug("Found {ResourceCount} embedded resources for template root '{TemplateRoot}': {TemplateResources}", resourceNames.Length, templateRoot, string.Join(", ", resourceNames));
349_logger.LogDebug("Writing embedded template resource '{ResourceName}' to '{FilePath}'.", resourceName, filePath);
Templating\CliTemplateFactory.EmptyTemplate.cs (5)
44_logger.LogDebug("Applying empty AppHost template. LanguageId: {LanguageId}, Language: {LanguageDisplayName}, ProjectName: {ProjectName}, OutputPath: {OutputPath}.", languageId, language.DisplayName, projectName, outputPath);
72_logger.LogDebug("Using embedded C# empty AppHost template for '{OutputPath}'.", outputPath);
88_logger.LogDebug("Using scaffolding service for language '{LanguageDisplayName}' in '{OutputPath}'.", language.DisplayName, outputPath);
156_logger.LogDebug("Skipping localhost TLD update because aspire.config.json was not found in '{OutputPath}'.", outputPath);
179_logger.LogDebug("Writing C# empty AppHost template files to '{OutputPath}' with Aspire version '{AspireVersion}'.", outputPath, aspireVersion);
Templating\TemplateEngineFactory.cs (19)
53logger.LogDebug("Skipping template-engine discovery because no template source was supplied.");
63logger.LogDebug("Reusing {TemplateCount} discovered templates from {TemplatePath}.", cached.Length, fullPath);
92logger.LogDebug("Template discovery directory {TemplatePath} does not exist.", fullPath);
97logger.LogDebug("Discovering templates in {TemplatePath}.", fullPath);
115logger.LogDebug("Template source installation failed for {TemplatePath}; {FailureCount} install results failed.", fullPath, failures.Length);
137logger.LogDebug("No templates were discovered in {TemplatePath}.", fullPath);
144logger.LogDebug("Discovered {TemplateCount} templates in the configured source.", templates.Length);
160logger.LogDebug("Resolving repository template source; remote reference lookup required: {ResolveRemoteRef}.", resolveRemoteRef);
167logger.LogDebug("Resolved repository template source to commit {Commit}.", sha);
177logger.LogDebug("Reusing cached repository template checkout at {CacheDirectory}.", cacheDirectory);
181logger.LogDebug("Repository template checkout is not cached; fetching commit {Commit}.", sha);
200logger.LogDebug("Published repository template checkout at {CacheDirectory}.", cacheDirectory);
204logger.LogDebug("Repository template checkout was already cached at {CacheDirectory}.", cacheDirectory);
211logger.LogDebug("Repository template reference was not found or the checkout did not match the requested commit.");
217logger.LogDebug("Repository template acquisition failed: {Failure}, exit code {ExitCode}.", ex.Failure, ex.ExitCode);
237logger.LogDebug("Resolving repository template source as a local repository.");
253logger.LogDebug("Repository template checkout commit {ActualCommit} does not match resolved commit {ExpectedCommit}.", actualSha, commitSha);
257logger.LogDebug("Verified repository template checkout at commit {Commit}.", actualSha);
272logger.LogDebug("Repository template Git operation timed out.");