debug(shell-arduino): 添加调试日志查看 arduino-cli 命令格式

This commit is contained in:
yczpf2019
2026-01-24 21:19:08 +08:00
parent 7d2076f165
commit e8de8f19c2

View File

@@ -29,6 +29,7 @@ export default class ShellArduino extends Shell {
`"${arduino.path.code}"`, `"${arduino.path.code}"`,
'--no-color' '--no-color'
].join(' '); ].join(' ');
console.log('DEBUG ARDUINO COMPILE CMD:', command);
return this.execUntilClosed(command, { maxBuffer: 4096 * 1000000 }); return this.execUntilClosed(command, { maxBuffer: 4096 * 1000000 });
} }