Add debug log for options passed to the agent
This commit is contained in:
parent
85b0804be5
commit
3e28ab85a0
@ -6,6 +6,8 @@ import split2 from "split2"
|
|||||||
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")
|
const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")
|
||||||
|
|
||||||
function runAgent(...args: string[]): Promise<void> {
|
function runAgent(...args: string[]): Promise<void> {
|
||||||
|
logger.debug(`running agent with ${args}`)
|
||||||
|
|
||||||
const agent = spawn(coderCloudAgent, args, {
|
const agent = spawn(coderCloudAgent, args, {
|
||||||
stdio: ["inherit", "inherit", "pipe"],
|
stdio: ["inherit", "inherit", "pipe"],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user