Skip to content

Commit

Permalink
Add debug log for options passed to the agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nhooyr committed Oct 7, 2020
1 parent 85b0804 commit 3e28ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node/coder-cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import split2 from "split2"
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")

function runAgent(...args: string[]): Promise<void> {
logger.debug(`running agent with ${args}`)

const agent = spawn(coderCloudAgent, args, {
stdio: ["inherit", "inherit", "pipe"],
})
Expand Down

0 comments on commit 3e28ab8

Please sign in to comment.