Skip to content

Commit 3e28ab8

Browse files
committed
Add debug log for options passed to the agent
1 parent 85b0804 commit 3e28ab8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node/coder-cloud.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import split2 from "split2"
66
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")
77

88
function runAgent(...args: string[]): Promise<void> {
9+
logger.debug(`running agent with ${args}`)
10+
911
const agent = spawn(coderCloudAgent, args, {
1012
stdio: ["inherit", "inherit", "pipe"],
1113
})

0 commit comments

Comments
 (0)