codelldb: Connection refused

OS: MacOS 10.15.6 (and older version) VSCode version: 1.47.3 (and older) Extension version: 1.5.3 Toolchain version: 11.0.3 (clang-1103.0.32.62) Build target: x86_64-apple-darwin19.6.0 Python version: Python 3.7.5

This was from the beginning. Seems most of the stuff works, but error.

  • It is printed with every project launch.
  • Firewall off.
Error: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }
Terminal
bash-3.2$  /Users/user/.vscode/extensions/vadimcn.vscode-lldb-1.5.3/adapter/codelldb terminal-agent --port=52524 
Error: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }
bash-3.2$  
bash-3.2$  
bash-3.2$  /Users/user/.vscode/extensions/vadimcn.vscode-lldb-1.5.3/adapter/codelldb terminal-agent --port=52543 
Error: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }
bash-3.2$  
bash-3.2$  
bash-3.2$  /Users/user/.vscode/extensions/vadimcn.vscode-lldb-1.5.3/adapter/codelldb terminal-agent --port=52563 
Error: Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }
Output
Debug console
Failed to redirect stdio to a terminal. (Terminal agent did not respond within the allotted time.)
Debuggee output will appear here.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I got the exact same error message. Removing all breakpoints from VS Code solved the problem :- )