vimspector icon indicating copy to clipboard operation
vimspector copied to clipboard

Vimspector Launch server timout

Open lingtaolf opened this issue 3 years ago • 0 comments

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

lingtaolf avatar Nov 30 '23 09:11 lingtaolf