Hi, I'm using Git Bash as the default terminal in VS Code. Using Git for Windows 2.36.1 with the latest runtime, based on cygwin 3.5.0.
I have a launch configuration that executes a Node.JS application in the integrated terminal. When I launch it for the first time, it spawns a new terminal and works correctly (most of the time), but when the terminal is being reused (and sometimes also for a new terminal), the command is missing a few characters, so it fails. These are the commands that are executed. The first one works, the second one fails. /usr/bin/env 'NODE_OPTIONS=--require "c:/Users/orgads/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"\\\\.\\pipe\\node-cdp.17916-22.sock","deferredMode":false,"waitForDebugger":"","execPath":"C:\\Program Files\\nodejs\\node.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:\\Users\\orgads\\AppData\\Local\\Temp\\node-debug-callback-c34e93d552518e0a"}' "C:\\Program Files\\nodejs\\node.exe" .\\..\\node_modules\\mocha\\bin\\_mocha "--timeout 9999" -r tsconfig-paths/register my-app.js cd F:\\Projects\\MyFailingProject/prjct-directory/dist ; /usr/bin/env 'NODE_OPTIONS=--require "c:/Users/orgads/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js" --inspect-publish-uid=http' 'VSCODE_INSPECTOR_OPTIONS={"inspectorIpc":"\\\\.\\pipe\\node-cdp.17916-23.ock","dferedMode":fale,"waitForDebugger":"","execPath":"C:\\Program Files\\nodejs\\node.exe","onlyEntrypoint":false,"autoAttachMode":"always","fileCallback":"C:\\Users\\orgads\\AppData\\Local\\Temp\\node-debug-callback-cc2a4594562280e4"}' "C:\\Program Files\\nodejs\\node.exe" .\\..\\node_modules\\mocha\\bin\\_mocha "--timeout 9999" -r tsconfig-pathsregister my-app.js The follwing characters are missing (marking them with **): "inspectorIpc":"\\\\.\\pipe\\node-cdp.17916-23.**s**ock","d**e**fe**r**redMode":fal**s**e ... -r tsconfig-paths**/**register my-app.js Notice there is one block (starts on char 325), which is missing 4 characters (325, 332, 334, 346), and another character close to the end of the line. Another execution was missing: "execPath":"C:\\Program File**s**\\nod**e**js\\node.exe","onlyEnt**r**ypoint":fal**s**e,"autoAttachMode":" and the same slash. The terminal also auto-types the missing characters (sers/) in the next line, without executing it (waiting for Enter). The characters are the same in both executions (sers/), only taken from different locations. This issue started a few months ago. IIRC it was around the same time I reported the misordered characters issue (last February), but I can't tell for sure. With 3.5.0, it happens less than before, but I still hit it once in a while. Any idea what can cause this? - Orgad -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple