Agents\Playwright\PlaywrightCliInstaller.cs (14)
141logger.LogDebug("npm is not available on PATH, skipping Playwright CLI installation.");
163logger.LogDebug("Using version override from '{ConfigKey}': {Version}", VersionOverrideKey, versionOverride);
170logger.LogDebug("Resolving {Package}@{Range} from the public npm registry.", PackageName, effectiveRange);
178logger.LogDebug("Resolved {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
187logger.LogDebug(
196logger.LogDebug(
218logger.LogDebug("Downloading {PackageSpecifier} to {TempDir}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version), tempDir);
233logger.LogDebug("Verifying provenance for {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
256logger.LogDebug(
263logger.LogDebug("Installing {PackageSpecifier} globally.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
302logger.LogDebug("Generating Playwright CLI skill files.");
381logger.LogDebug("Mirrored playwright-cli skills to {TargetDir}.", targetSkillDir);
413logger.LogDebug("Removed playwright-cli skills from unselected location: {SkillDir}", skillDir);
451logger?.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 (29)
181logger.LogDebug("Connecting to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath);
197logger.LogDebug("Connected to auxiliary backchannel at {SocketPath}", appHostSocket.SocketPath);
266logger.LogDebug("AppHost capabilities: {Capabilities}", capabilities is not null ? string.Join(", ", capabilities) : "null");
276logger.LogDebug("AppHost does not support GetCapabilitiesAsync, assuming v1 only");
296_logger.LogDebug("Requesting AppHost information");
313_logger.LogDebug("Requesting AppHost to stop");
324_logger.LogDebug("Stop request sent to AppHost");
340_logger.LogDebug("Requesting Dashboard URLs");
378_logger.LogDebug("Waiting for AppHost startup readiness");
417_logger.LogDebug("Getting resource snapshots");
466_logger.LogDebug("Starting resource snapshots watch");
508_logger.LogDebug("Getting resource logs for {ResourceName} (follow={Follow})", resourceName ?? "all resources", follow);
551_logger.LogDebug("Requesting AppHost to call MCP tool {ToolName} on resource {ResourceName}", toolName, resourceName);
593_logger.LogDebug("Getting AppHost info (v2)");
637_logger.LogDebug("Getting Dashboard info (v2)");
678_logger.LogDebug("Getting resources (v2)");
718_logger.LogDebug("Watching resources (v2)");
820_logger.LogDebug("Getting console log batches (v3) for {ResourceName}", request.ResourceName);
871_logger.LogDebug("Getting console logs (v2) for {ResourceName}", request.ResourceName);
944_logger.LogDebug("Calling MCP tool (v2) {ToolName} on {ResourceName}", request.ToolName, request.ResourceName);
971_logger.LogDebug("Stopping AppHost (v2)");
1003_logger.LogDebug("Executing command '{CommandName}' on resource '{ResourceName}'", commandName, resourceName);
1022_logger.LogDebug("Command '{CommandName}' on resource '{ResourceName}' completed with success={Success} and message='{Message}'", commandName, resourceName, response.Success, response.Message);
1045_logger.LogDebug("Waiting for resource '{ResourceName}' to reach status '{Status}' with timeout {Timeout}s", resourceName, status, timeoutSeconds);
1061_logger.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.State);
1082_logger?.LogDebug("Getting terminal info for resource '{ResourceName}'", resourceName);
1091_logger?.LogDebug("Terminal info for '{ResourceName}': available={Available}, replicas={ReplicaCount}",
1112_logger?.LogDebug("Listing all terminal-enabled resources.");
1121_logger?.LogDebug("ListTerminals returned {Count} terminal-enabled resource(s).", response.ResourceTerminals.Length);
Backchannel\AppHostCliBackchannel.cs (20)
79logger.LogDebug("Requesting stop");
103logger.LogDebug("Notifying AppHost startup readiness");
127logger.LogDebug("Requesting dashboard URL");
175logger.LogDebug("Requesting {OperationName}", operationName);
179logger.LogDebug("Received {OperationName} async enumerable", operationName);
183logger.LogDebug("Connection lost while getting {OperationName}, waiting for reconnect...", operationName);
235logger.LogDebug("Connection lost during enumeration, will restart after reconnect");
251logger.LogDebug("Ignoring connection lost exception during enumerator disposal");
293logger.LogDebug("Reconnection completed successfully");
335logger.LogDebug("Connected to AppHost backchannel at {SocketPath} (retryCount={RetryCount})", socketPath, retryCount);
402logger.LogDebug("Backchannel disconnected but reconnection already in progress, ignoring.");
431logger.LogDebug("Backchannel disconnected: {Reason}", args.Reason);
442logger.LogDebug("Resetting backchannel for reconnection");
499logger.LogDebug("Requesting capabilities");
516logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId);
531logger.LogDebug("Providing prompt responses for prompt ID {PromptId}", promptId);
546logger.LogDebug("Requesting pipeline steps.");
555logger.LogDebug("Received {StepCount} pipeline steps.", response.Steps.Length);
564logger.LogDebug("Uploading file {FileName} from {FilePath}", fileName, filePath);
594logger.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)
1047_logger.LogDebug("Listing certificates from {Location}\\{StoreName}", location, storeName);
1051_logger.LogDebug("Found certificates: {MatchingCertificates}", matchingCertificates);
1055_logger.LogDebug("Checking certificates validity");
1059_logger.LogDebug("Valid certificates: {ValidCertificates}", validCertificates);
1063_logger.LogDebug("Invalid certificates: {InvalidCertificates}", invalidCertificates);
1067_logger.LogDebug("Finished listing certificates.");
1075_logger.LogDebug("Filtered certificates: {FilteredCertificates}", filteredCertificates);
1079_logger.LogDebug("Excluded certificates: {ExcludedCertificates}", excludedCertificates);
1083_logger.LogDebug("Valid certificates: {Certificates}", certificates);
1087_logger.LogDebug("Selected certificate: {Certificate}", certificate);
1091_logger.LogDebug("No valid certificates found.");
1095_logger.LogDebug("Generating HTTPS development certificate.");
1099_logger.LogDebug("Finished generating HTTPS development certificate.");
1107_logger.LogDebug("Saving certificate '{Certificate}' to store {Location}\\{StoreName}.", certificate, location, name);
1111_logger.LogDebug("Finished saving certificate to the store.");
1119_logger.LogDebug("Saving certificate '{Certificate}' to {Path} {PrivateKey} private key.", certificate, path, includePrivateKey ? "with" : "without");
1123_logger.LogDebug("Exporting certificate with private key but no password.");
1127_logger.LogDebug("Creating directory {Path}.", path);
1135_logger.LogDebug("Writing the certificate to: {Path}.", path);
1143_logger.LogDebug("Trusting the certificate to: {Certificate}.", certificate);
1147_logger.LogDebug("Finished trusting the certificate.");
1155_logger.LogDebug("Running the trust command {Command}.", command);
1159_logger.LogDebug("Finished running the trust command.");
1167_logger.LogDebug("Running the remove trust command for {Certificate}.", certificate);
1171_logger.LogDebug("Finished running the remove trust command.");
1179_logger.LogDebug("The certificate is not trusted: {Certificate}.", certificate);
1183_logger.LogDebug("Removing the certificate from the keychain {KeyChain} {Certificate}.", keyChain, certificate);
1187_logger.LogDebug("Finished removing the certificate from the keychain.");
1195_logger.LogDebug("Removing the certificate from the user store {Certificate}.", certificate);
1199_logger.LogDebug("Finished removing the certificate from the user store.");
1207_logger.LogDebug("Adding certificate to the trusted root certification authority store.");
1211_logger.LogDebug("The certificate is already trusted.");
1215_logger.LogDebug("Trusting the certificate was cancelled by the user.");
1219_logger.LogDebug("Removing the certificate from the trusted root certification authority store.");
1223_logger.LogDebug("Finished removing the certificate from the trusted root certification authority store.");
1227_logger.LogDebug("The certificate was not trusted.");
1231_logger.LogDebug("Correcting the the certificate state for '{Certificate}'.", certificate);
1235_logger.LogDebug("Finished correcting the certificate state.");
1243_logger.LogDebug("Importing the certificate {Certificate} to the keychain '{Keychain}'.", certificate, keychain);
1247_logger.LogDebug("Finished importing the certificate to the keychain.");
1255_logger.LogDebug("Writing the certificate to: {Path}.", path);
1271_logger.LogDebug("Loading certificate from path '{CertificatePath}'.", certificatePath);
1275_logger.LogDebug("The certificate '{Description}' has been loaded successfully.", description);
1287_logger.LogDebug("The certificate is already trusted.");
1291_logger.LogDebug("Saving the certificate {Certificate} to the user profile folder '{Directory}'.", certificate, directory);
1295_logger.LogDebug("Finished saving the certificate to the user profile folder.");
1315_logger.LogDebug("Reading OpenSSL trusted certificates location from {NssDbOverrideVariableName}.", nssDbOverrideVariableName);
1319_logger.LogDebug("Reading NSS database locations from {Source}.", source);
1339_logger.LogDebug("Home directory '{HomeDirectory}' does not exist. Unable to discover NSS databases for user '{Username}'. This will likely affect browsers.", homeDirectory, username);
1343_logger.LogDebug("OpenSSL reported its directory in an unexpected format.");
1347_logger.LogDebug("Unable to determine the OpenSSL directory.");
1351_logger.LogDebug("Unable to determine the OpenSSL directory: {ExceptionMessage}.", exceptionMessage);
1375_logger.LogDebug("Trusted the certificate in .NET.");
1383_logger.LogDebug("Trusted the certificate in OpenSSL.");
1391_logger.LogDebug("Trusted the certificate in the NSS database in '{Path}'.", path);
1403_logger.LogDebug("Untrusted the certificate in OpenSSL.");
1411_logger.LogDebug("Removed the certificate from the NSS database in '{Path}'.", path);
1435_logger.LogDebug("No Firefox profiles found in directory '{FirefoxDirectory}'.", firefoxDirectory);
1455_logger.LogDebug("Untrusting the certificate in OpenSSL was skipped since '{CertPath}' does not exist.", certPath);
1479_logger.LogDebug("The certificate directory '{CertDir}' is already included in the {EnvVarName} environment variable.", certDir, envVarName);
1487_logger.LogDebug("Successfully trusted the certificate in the Windows certificate store via WSL.");
1499_logger.LogDebug("Meets minimum version certificates: {MeetsMinimumVersionCertificates}", meetsMinimumVersionCertificates);
1503_logger.LogDebug("Below minimum version certificates: {BelowMinimumVersionCertificates}", belowMinimumVersionCertificates);
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 (6)
292logger.LogDebug("OpenSSH verification completed after {Elapsed}; exit code {ExitCode}, failure {Failure}, cancelled {Cancelled}.",
347logger.LogDebug("Starting Git process.");
348using var registration = cancellationToken.Register(() => logger.LogDebug("Git cancellation requested after {Elapsed}.", stopwatch.Elapsed));
353logger.LogDebug("Git process {ProcessId} started after {Elapsed}.", process.Id, stopwatch.Elapsed);
369logger.LogDebug("Git process {ProcessId} output drained after {Elapsed}.", process.Id, stopwatch.Elapsed);
373logger.LogDebug("Git process completed after {Elapsed}; exit code {ExitCode}, failure {Failure}, cancelled {Cancelled}.",
Git\GitRepository.cs (9)
22logger.LogDebug("Searching for Git repository root from working directory: {WorkingDirectory}", executionContext.WorkingDirectory.FullName);
34logger.LogDebug("Git command returned non-zero exit code {ExitCode}: {Error}", result.ExitStatus.ExitCode, result.StandardError.Trim());
42logger.LogDebug("Git command returned empty output");
49logger.LogDebug("Found Git repository root: {GitRoot}", directoryInfo.FullName);
53logger.LogDebug("Git repository root path does not exist: {GitRoot}", rootPath);
72logger.LogDebug("Search root does not exist: {SearchRoot}", searchRoot.FullName);
76logger.LogDebug("Listing git-included files under: {SearchRoot}", searchRoot.FullName);
91logger.LogDebug("git ls-files returned non-zero exit code {ExitCode} from {SearchRoot}: {Error}", result.ExitStatus.ExitCode, searchRoot.FullName, result.StandardError.Trim());
115logger.LogDebug("git ls-files returned {Count} files under {SearchRoot}", includedFiles.Count, searchRoot.FullName);
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)
43logger.LogDebug("Resolving npm package {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange));
60logger.LogDebug("Failed to resolve version for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, versionRange));
66logger.LogDebug("Could not extract version from npm output: {Output}", versionOutput.Trim());
72logger.LogDebug("Could not parse npm version from output: {Output}", versionString);
76logger.LogDebug("Resolved {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
98logger.LogDebug("Packing npm package {PackageSpecifier} to {OutputDirectory}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), outputDirectory);
108logger.LogDebug("Failed to pack {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
116logger.LogDebug("npm pack returned empty filename");
123logger.LogDebug("npm pack output file not found: {Path}", tarballPath);
127logger.LogDebug("Packed {PackageSpecifier} to {TarballPath}", NpmPackageInfo.FormatPackageSpecifier(packageName, version), tarballPath);
141logger.LogDebug("Installing npm package globally from {TarballPath}", tarballPath);
159logger.LogDebug("Failed to install npm package globally from {TarballPath}", tarballPath);
163logger.LogDebug("Successfully installed npm package globally from {TarballPath}", tarballPath);
177logger.LogDebug("npm is not installed or not found in PATH");
274logger.LogDebug("Running npm {Args} in {WorkingDirectory}", argsString, workingDirectory);
289logger.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)
150_logger.LogDebug("Using SDK version from configuration: {Version}", configuredVersion);
155_logger.LogDebug("Using default SDK version: {Version}", defaultSdkVersion);
432_logger.LogDebug("Regenerating SDK after bootstrapping npm integration host dependencies.");
529_logger.LogDebug("AppHost file {File} does not exist", appHostFile.FullName);
537_logger.LogDebug("AppHost file {File} does not match {Language} detection patterns: {Patterns}",
544_logger.LogDebug("Validated {Language} AppHost: {File}", _resolvedLanguage.DisplayName, appHostFile.FullName);
554_logger.LogDebug("Running {Language} AppHost: {AppHostFile}", DisplayName, appHostFile.FullName);
1285_logger.LogDebug("No aspire.config.json, apphost.run.json, or launchSettings.json found in {Path}", directory.FullName);
1291_logger.LogDebug("Reading launch settings from {ConfigPath}", configPath);
1347_logger.LogDebug("Read {Count} environment variables from {ConfigPath}", result.Count, configPath);
1396_logger.LogDebug("Read {Count} environment variables from aspire.config.json", result.Count);
1406_logger.LogDebug("Publishing guest AppHost: {AppHostFile}", appHostFile.FullName);
1727_logger.LogDebug("Starting backchannel connection to AppHost server at {SocketPath}", socketPath);
1743_logger.LogDebug("Connected to AppHost server backchannel at {SocketPath}", socketPath);
1753_logger.LogDebug("AppHost server process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", knownExitCode, socketPath);
1757_logger.LogDebug("AppHost server process has exited before its exit code was available. Unable to connect to backchannel at {SocketPath}", socketPath);
1805_logger.LogDebug("Backchannel connection to AppHost server cancelled during shutdown.");
2096_logger.LogDebug("Generating {CodeGenerator} code via RPC for {Count} packages", codeGenerator, integrationsList.Count);
2305_logger.LogDebug(
2523_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)
174_logger.LogDebug("{FileName}({ProcessId}) started in {WorkingDirectory}", FileName, _processId, _startInfo.WorkingDirectory);
257_logger.LogDebug("{FileName}({ProcessId}) waiting for exit", FileName, _processId);
265_logger.LogDebug("{FileName}({ProcessId}) wait was canceled, stopping it", FileName, _processId);
295_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", FileName, _processId, exitCode);
510_logger.LogDebug("{FileName} process {ProcessId} already exited.", FileName, process.Id);
526_logger.LogDebug(
656_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);