Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
.NET Core Docker Launch Fails. It apparently ignore or fails to parse pipeTransport configuration.
I’m using Anysphere C# Extension.
The same solution (launch configuration, docker image etc) works with VSCode.
I have tried multiple variations for “pipeTransport” and no change seem to matter, it is like the debugger adapter does not even begin to use that part of the configuration.
I am wondering if Anysphere C# has actual support for pipeTransport when coreclr launch.
Steps to Reproduce
Container running or not running (it will be started by the launch task)
Use this launch.json:
json
{
“name”: “Docker: Debug myApp”,
“type”: “coreclr”,
“request”: “launch”,
“program”: “/app/myApp.dll”,
“sourceFileMap”: { “/app”: “${workspaceRoot}/src/Host/myApp/” },
“pipeTransport”: {
“pipeProgram”: “docker”,
“pipeCwd”: “${workspaceRoot}”,
“pipeArgs”: [“exec”, “-i”, “myApp”, “dotnet”],
“debuggerPath”: “/netcoredbg/netcoredbg”,
“debuggerArgs”: [“–interpreter=vscode”],
“quoteArgs”: true,
“piping”: true
},
“logging”: {
“engineLogging”: true,
“diagnosticsLog”: { “protocolMessages”: true }
},
“preLaunchTask”: “publish.myApp”
}
Press F5 Or run "Docker: Debug myApp"→ Fails with malformed “dotnet-/app/myApp.dll” error:
Could not execute because the specified command or file was not found.
Possible reasons for this include:
- You misspelled a built-in dotnet command.
- You intended to execute a .NET program, but dotnet-/app/ngFuturail.dll does not exist.
- You intended to run a global tool, but a dotnet-prefixed executable with this
Expected Behavior
The Launch task would run myApp in the container with the debugger attached.
VsCode does just that: runs the preLaunchTask, then the Launch task and at the end myApp is running in the container with the Debugger attached.
Operating System
Windows 10
Version Information
Version: 2.4.27 (system setup)
VSCode Version: 1.105.1
Commit: 4f2b772756b8f609e1354b3063de282ccbe7a690
Date: 2026-01-31T21:24:58.143Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.19045
Additional Information
I’m using the netcoredbg debugger.
docker exec -it myApp ls -la /app/myApp.dll #
Exists
docker exec -it myApp /netcoredbg/netcoredbg --version #
Works
docker exec -it myApp dotnet /app/myApp.dll #
Runs app
Does this stop you from using Cursor
Yes - Cursor is unusable