feat: add command execution logging for debugging
Added debug logging to print the exact cs-cloud command being executed. This helps verify that arguments are passed correctly when debugging cloud hang issues. Co-Authored-By: claude-sonnet-4-6 <noreply@anthropic.com>
This commit is contained in:
parent
b6e9b1ba4e
commit
6901484dd7
|
|
@ -232,6 +232,9 @@ function getCloudRawArgs(): string[] {
|
|||
async function runCsCloud(args: string[]): Promise<void> {
|
||||
const bin = await ensureCsCloud()
|
||||
|
||||
// Print the exact command being executed for debugging
|
||||
console.error(`[DEBUG] Executing: ${bin} ${args.join(" ")}`)
|
||||
|
||||
// Close stdin to prevent blocking, inherit stdout/stderr
|
||||
const child = spawn(bin, args, {
|
||||
stdio: ["ignore", "inherit", "inherit"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user