Add support for running DebugConfigurations with serverReadyAction (#197597)

* Add support for running DebugConfigurations with serverReadyAction

This PR adds 'config' as an option for serverReadyAction. It runs
similar to 'name', but if a configuration is generated on the fly, its
easier to inject the debug configurations with the serverReadyAction.

* Merge into startDebugSession method

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
This commit is contained in:
Andrew Wang
2023-11-22 11:41:19 -08:00
committed by GitHub
parent 567021733a
commit 452b754c5e
3 changed files with 61 additions and 4 deletions

View File

@@ -8,6 +8,7 @@
"debug.server.ready.action.debugWithChrome.description": "Start debugging with the 'Debugger for Chrome'.",
"debug.server.ready.action.startDebugging.description": "Run another launch configuration.",
"debug.server.ready.pattern.description": "Server is ready if this pattern appears on the debug console. The first capture group must include a URI or a port number.",
"debug.server.ready.debugConfig.description": "The debug configuration to run.",
"debug.server.ready.uriFormat.description": "A format string used when constructing the URI from a port number. The first '%s' is substituted with the port number.",
"debug.server.ready.webRoot.description": "Value passed to the debug configuration for the 'Debugger for Chrome'.",
"debug.server.ready.killOnServerStop.description": "Stop the child session when the parent session stopped.",