未验证 提交 3e28ab85 编写于 作者: A Anmol Sethi

Add debug log for options passed to the agent

上级 85b0804b
...@@ -6,6 +6,8 @@ import split2 from "split2" ...@@ -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"],
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册