Each additional property must conform to the following schema
Type: objectA mapping of name/value pairs to set variables to be used elsewhere in the definition, or a list of such mappings.
Each additional property must conform to the following schema
Command to run. If it's a string, it's split using Python's shelex splitting. Can contain other variable references.
A list of variable mappings. This can be useful where variable definitions rely on each other. By using a list, you can control the sequence in which variables are defined.
Passed to the adapter in the initialization request. Some adapters are particularly picky about what value goes here. Usually it can be omitted and Vimspector will send a generic value
Base debug configuration. Can be used to set default values for all debug configurations. When reading individual debug configurations from 'configurations', those configurations are merged with this object. Definitions in the debug configuration override anything in this object. Typical usage for this is to set the 'type' parameter, which some debug adapters are very picky about, or to set e.g. the path to an underlying debugger.
Configures how Vimspector will marshal remote debugging requests. When remote debugging, Vimspector will either ssh to 'account'@'host', docker exec -it to 'container' or work locally and run 'pidCommand', 'attachCommands', 'runCommands', etc. based on the 'remote-command' option in the debug configuration. If 'remote-command' is 'launch', it runs 'runCommand(s)', otherwise (it's 'attach') vimspector runs 'pidCommand', followed by 'attachCommand(s)'.Then it starts up the debug adapter with the debug configuration as normal. Usually this is configured with an 'attach' request (whether we remotely 'launched' or not). Once the initialization exchange is complete, Vimspector runs the optional 'initCompleteCommand' which can be used to force the application to break, e.g. by sending it SIGINT. This is required on some platforms which have buggy gdbservers (for example)
Remote account name used when ssh'ing. Defaults to the current user account.
Name of the remote host to connect to (via passwordless SSH).
Name or container id of the docker run container to connect to (via docker exec). Note the container must already be running (Vimspector will not start it) and it must have the port forwarded to the host if subsequently connecting via a port (for example docker run -p 8765:8765 -it simple_python).
For remote-attach. Remote command to execute after initialization of the debug adapter. Can be used to work around buggy attach behaviour on certain platforms (advanced usage). Can contain the special token %PID% which is replaced with the PID returned by 'pidCommand'
Required for remote-attach. Remote command to execute to return the PID to attach to.
For remote-attach. List of commands to execute remotely to set up the attach. Can contain the special token %PID% which is replaced with the PID returned by the remote 'pidCommand'.
A single command to execute for remote-attach. Like attachCommands but for a single command. If attachCommands is supplied, this is not used.
For remote-launch. List of commands to execute remotely to set up the launch. An entry in the array can be the special token '%CMD%' which is replaced with the evaluated 'remote-cmdLine' value in the debug configuration. This is useful to parameterize launcging remotely under something like gdbserver.
A single command to execute for remote-launch. Like runCommands but for a single command.
A time in the format understood by :help :sleep to wait after running the attachCommand(s)
The launch config property which the PID should be injected into. Required when 'pidSelect' is 'ask'.
A time in the format understood by :help :sleep to wait after running the attachCommand(s)
Set to True to launch 'command' in a terminal. Only valid when both 'command' and 'port' are supplied.
Connect to this host in multi-session mode
If supplied, indicates that a socket connection should be made to this port on 'host'. If the value is 'ask', then the user is asked to enter the port number to connect to.
Name of another adapter from which to inherit all properties
Timeout for synchronous requests to the adapter (in ms). Default is 5000
Timeout for asynchronous requests to the adapter (in ms). Default is 15000
Directory in which to start the adapter
Each additional property must conform to the following schema
A mapping of name/value pairs to set variables to be used elsewhere in the definition, or a list of such mappings.
Same definition as adapters_additionalProperties_allOf_i1Adapter configuration to use for this debug session
Name of an adapter in the 'adapters' mapping
Name of another configuration to inherit properties from.
When the 'remote' block is defined in the adapter configuration, this can be used to override the actual action taken (remotely). Usually the actual 'configuration' will contain 'request' of 'attach', but in order to remotely 'launch' the process (e.g. under gdbserver or equivalent), use remote-attach set to 'launch'
Defines the value of the special token %CMD% in remote-launch 'runCommand(s)'. The value is inserted into the command line where an entry matching '%CMD%' is found in 'runCommand(s)' command array.
When true, this configuration is picked by default
When false, this configuration is never picked by default
List of Vim filetypes that this configuration applies to. The configuration is only used if one of the current filetypes appears in this list, or if this list is not supplied,
Directory in which to start the adapter; overrides any set on the adapter. Does not necessarily affect the cwd of the debuggee, only the debug adapter.
Type of session - launch process or attach to process
Each additional property must conform to the following schema
Type: objectAdditional properties are passed to the debug adapter in the 'launch' or 'attach' request and are specific to the debug adapter.
Exception breakpoints configuration, mapping the server's exception filter to enabled/disable/default flag
Each additional property must conform to the following schema
true = enable, false = disable
Y = enable, N = disable, '' = default