Jack·Boos·Yu

Results 286 comments of Jack·Boos·Yu

As you can see: > OS: macOS 14.1.1. CMake: 3.27.8 CMake Tools: v1.16.32 You can also get launch.json and tasks.json in https://devblogs.microsoft.com/cppblog/debug-vcpkg-portfiles-in-cmake-script-mode-with-visual-studio-code/, they are same except the `.exe` suffix since...

BTW, this issue does not happen when the OS is Windows.

> My thought is that the pipe name from that blog post, is a Windows named pipe, following the protocol for naming a pipe in Windows. However, in things like...

> @JackBoosY To clarify, you also changed the name of the pipe from the task that starts the cmake process, correct? Yes, in both launch.json and tasks.json.

> @JackBoosY Ah, you are correct. The `&` needs to be removed, and also, you should remove the `.exe` from the `vcpkg.exe` invocations in the tasks.json. > > I was...

`tasks.json`: ```json { "version": "2.0.0", "tasks": [ { "label": "Reinstall zlib", "type": "shell", "isBackground": true, "command": "\"${workspaceFolder}/vcpkg\" install zlib --no-binarycaching --x-cmake-debug /Users/jackyu/Documents/vcpkg/vcpkg_pipe", "problemMatcher": [ { "pattern": [ { "regexp": "",...

> What do you see in the terminal if you use the command palette to directly run the `Reinstall zlib` task? > > Based on your output, I wonder if...

> Ah, okay. Could you `rm` the vcpkg_pipe, it will be a file on your filesystem, and then try to debug again? When I manually run the command with `sudo`,...

> Ah, maybe it's a permissions issue, if you're having to run `sudo` to get it to run correctly. Is there a reason why you need to use `sudo`? Yes...

Ping @gcampbell-msft Also, I still need to know the related doc link.