delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 208213836643 |
Authentication-Results: | sourceware.org; |
dmarc=pass (p=none dis=none) header.from=gmail.com | |
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=gmail.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; |
h=mime-version:from:date:message-id:subject:to:cc; | |
bh=YZZYsRjEcrsd1sHjsvjuhvxjXXP4MM+cSNw75DK7Ddw=; | |
b=HB5NN0OP7wv/wVRCQ/n3qFdq8LQSW4oDZ76KwOL8KRiWyYdktWyTgmoYKkgaXO3B5M | |
imcuPV+r51VG4hDmfrNSmjKSPy5FQKi3ObFVWJd6jZC2zV0Qvuq5PBgLFLz/39e7Y3pX | |
e615IFomisENnYcAi6bKQh06Wm4hPnPoNqDlqp9Q3JzdEoAbUlGoPKTRC+a0oawGIy0r | |
SgH+F2hF2gYeDuO1WtQbGrWLi95EPUT9z4ZqTihCqnLfHh/QHwppu3SCG1jAX7GK8deZ | |
rFwq/wDPEsE8+MCxiLV+euv5TMWz4V1kpm66RvXo8/XJNRxLSjuYx6qon4JB2WLqajiN | |
P2dg== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20210112; | |
h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; | |
bh=YZZYsRjEcrsd1sHjsvjuhvxjXXP4MM+cSNw75DK7Ddw=; | |
b=upvBhIXb0iWXTdNQPkmzyNOAUUgRq4mesaE+Flf3AgF8tgAlt8LXprmvD8ukg43BdB | |
2AHdlDZIWjqGeOS8FkdSiFth57U3TXYOUOAyqG546Z/rbv7VgWO/VvShhNxarIvGxzpw | |
Op8r2XKQVdSfxuq7ZJFQviy/vfOyZjbsJRODxkdGlY+EZHCQwmpC6D4PrHw5qD2pHmnW | |
/hLvaz8+WtA5w6C1hioONWpqhrSbH6/ObMw3k0miBorc0ZpowfJboioLrvqmEvCBpfvR | |
pDXSI4KPfjAk/5owq/8WTTmnj+SLrTdxa134DR4sJJf2ldvBUYpNweDN5V1fOqhKVn1B | |
ONOQ== | |
X-Gm-Message-State: | AOAM5339LgIxtw+SaljqQRM5zn8Q+lBF6ZKeFn/NUt8spCV1O/mbZ7MN |
+JVtdxJrVtKiddgiK707gTcDEDC3JYEt9OxGEksdjGRJ | |
X-Google-Smtp-Source: | ABdhPJxGf8hf59SNrH1kRgxy60kLIR5IuPojvk3FW3nbSlWO+VcFBYVsketcOJ4HfQMpL+L9zrX9bSNBgAPthtUHnpM= |
X-Received: | by 2002:a67:e118:0:b0:335:d4c6:1c6c with SMTP id |
d24-20020a67e118000000b00335d4c61c6cmr18864238vsl.66.1653635730123; Fri, 27 | |
May 2022 00:15:30 -0700 (PDT) | |
MIME-Version: | 1.0 |
From: | Orgad Shaneh <orgads AT gmail DOT com> |
Date: | Fri, 27 May 2022 10:15:18 +0300 |
Message-ID: | <CAGHpTBK=NbN4DAzgJC-KrDMNYXBAxNYXDn7gCPrHGSNwXp+Z5g@mail.gmail.com> |
Subject: | VS Code is missing a few characters when running launch task in Git |
Bash | |
To: | cygwin AT cygwin DOT com |
X-Spam-Status: | No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, | |
SPF_HELO_NONE, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Cc: | Johannes Schindelin <Johannes DOT Schindelin AT gmx DOT de> |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |