nisargjhaveri / vscode-ios-debug

iOS debugging in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=nisargjhaveri.ios-debug
86 stars 10 forks source link

#20 Fix error [ERROR] RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]:… #21

Open Ygrik2003 opened 4 months ago

Ygrik2003 commented 4 months ago

… stdout maxBuffer length exceeded when install app Add maxBufferSize=100Mb for stdout/stdin

nisargjhaveri commented 4 months ago

Thanks for the PR!

The limit is still arbitrary and I see it might break again at some point. Does using spawn instead of execFile help us avoid the limit and the huge buffer?

Ygrik2003 commented 4 months ago

You're right, spawn solves the problem. I replaced it only in this place, since in other places it is either not necessary or requires asynchrony.

Ygrik2003 commented 4 months ago

Sorry, i find bug, one moment 😁