puremourning / vimspector

vimspector - A multi-language debugging system for Vim
http://puremourning.github.io/vimspector-web
Apache License 2.0
4.08k stars 171 forks source link

Vimspector Launch server timout #815

Closed lingtaolf closed 9 months ago

lingtaolf commented 9 months ago

Description

List of steps to reproduce:

I use vimspector to debug clickhouse server, and my config is below:

{
  "configurations": {
    "Launch": {
      "adapter": "vscode-cpptools",
      "filetypes": [ "cpp", "c", "objc", "rust" ], 
      "configuration": {
        "request": "launch",
        "program": "/root/code/github/ClickHouse/build/programs/clickhouse-server",
        "args": ["--config-file", "/root/data/clickhouse_data/config.xml"],
        "cwd": "/root/data/clickhouse_data",
        "environment": [],
        "externalConsole": true,
        "MIMode": "gdb",
        "setupCommands": [
                {
                    "description": "ignore SIGUSR1 signal",
                    "text": "handle SIGUSR1 nostop noprint pass"
                }
            ],
        "miDebuggerPath": "/usr/bin/gdb"
      }
    }
  }
}

But , when I start debugging, vimspector will show a message "Initialize for sessiong Launch (0) Failed Timeout". Are there any configuration can be set for this situation? image

Is it reproducible in vim?

Only broken in Neovim

Works with clean config?

Yes

Sample project works?

Not reproducible with sample project

Minimal Reproduction

This only happend when I debug this project Clickhouse

Expected Behaviour

Don't show that message.

Actual Behaviour

Show failed message

Additional information

No response

Installation Type

Plugin Manager (git clone)

Vimspector version

latest

Debug Info

No response

Log file

No response

Vim version

NVIM v0.9.4

Python version

No response

Neovim diagnostics

No response

Operating System

Linux Ubuntu

Declaration