Windows Powershell 7.6.0 VS Code 1.113.0 Vite Plus v0.1.14 PNPM 10.28.0
After starting the development command in the VS Code integrated terminal on Windows, pressing Ctrl+C to stop the process causes the terminal to behave abnormally.
Common symptoms:
- Terminal input becomes sluggish or freezes
- Backspace behaves incorrectly and shows
^H Ctrl+Cis echoed incorrectly and shows^C
Run the following commands in the project root directory, wait for the dev server to start, then press Ctrl+C once:
vp run dev
pnpm run dev
npm run devbun run dev
.\node_modules\.bin\vite.CMD
.\node_modules\.bin\vite.ps1
C:\Users\Curtion\Desktop\node-v24.14.1-win-x64\npm.cmd run dev
C:\Users\Curtion\Desktop\node-v24.14.1-win-x64\npm.ps1 run dev在 Windows 的 VS Code 集成终端中启动开发命令后,按 Ctrl+C 结束进程,终端会出现异常。
常见现象:
- 终端输入卡顿或卡死
- 退格键异常,显示
^H Ctrl+C显示异常,出现^C
在项目根目录执行以下命令,等待服务启动后按一次 Ctrl+C:
vp run dev
pnpm run dev
npm run devbun run dev
.\node_modules\.bin\vite.CMD
.\node_modules\.bin\vite.ps1
C:\Users\Curtion\Desktop\node-v24.14.1-win-x64\npm.cmd run dev
C:\Users\Curtion\Desktop\node-v24.14.1-win-x64\npm.ps1 run dev