0.3.0
-
Increased the amount of connect retries when connecting to a debug-adapter of type
server
and exposed a setting to change the number of retries. This should help with debug adapters likecodelldb
where you spawn an executable that starts a service listening on TCP. It may take a while for that service to become available and the connect attempt could initially fail. -
Added support for custom
inputs
invscode/launch.json
files. See:help dap-launch.json
for details. -
Exposed a
json_decode
function indap.ext.vscode
to allow users to override it with alternative json parsers. This can be used to hook in a JSON5 parser for better compatibility with Microsoft JSON. -
Added support for customizing the sign symbols before calling
require('dap')
. Previously it was necessary to callsign_define
after having imported thedap
module. -
Improved the handling of error messages sent by debug adapters.
-
The
DapStopped
highlight is now cleared when usingdap.close()
. -
Added a
DapLoadLaunchJSON
command that maps torequire('dap.ext.vscode').load_launchjs()