mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
nls debug-server-ready
This commit is contained in:
@@ -18,25 +18,25 @@
|
||||
"contributes": {
|
||||
"debuggers": [
|
||||
{
|
||||
"type": "node",
|
||||
"type": "*",
|
||||
"configurationAttributes": {
|
||||
"launch": {
|
||||
"properties": {
|
||||
"serverReadyAction": {
|
||||
"type": "object",
|
||||
"markdownDescription": "Server Ready options.",
|
||||
"markdownDescription": "%debug.server.ready.serverReadyAction.description%",
|
||||
"default": {
|
||||
"action": "openExternally"
|
||||
},
|
||||
"properties": {
|
||||
"pattern": {
|
||||
"type": "string",
|
||||
"markdownDescription": "Server is ready if this pattern appears on the debug console. The first group must include the port number.",
|
||||
"markdownDescription": "%debug.server.ready.pattern.description%",
|
||||
"default": "listening on port ([0-9]+)"
|
||||
},
|
||||
"uriFormat": {
|
||||
"type": "string",
|
||||
"markdownDescription": "A format string used when constructing the URI. The first '%s' is substituted with the port number.",
|
||||
"markdownDescription": "%debug.server.ready.uriFormat.description%",
|
||||
"default": "http://localhost:%s"
|
||||
},
|
||||
"action": {
|
||||
@@ -46,15 +46,15 @@
|
||||
"debugWithChrome"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Open URI externally.",
|
||||
"Start debugging with the Debugger for Chrome."
|
||||
"%debug.server.ready.action.openExternally.description%",
|
||||
"%debug.server.ready.action.debugWithChrome.description%"
|
||||
],
|
||||
"markdownDescription": "Determines what to do with when the server is ready.",
|
||||
"markdownDescription": "%debug.server.ready.action.description%",
|
||||
"default": "openExternally"
|
||||
},
|
||||
"webRoot": {
|
||||
"type": "string",
|
||||
"markdownDescription": "Literally passed to chrome debug configuration.",
|
||||
"markdownDescription": "%debug.server.ready.webRoot.description%",
|
||||
"default": "${workspaceFolder}"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"displayName": "Server Ready Action",
|
||||
"description": "Open URI in browser if server under debugging is ready."
|
||||
"description": "Open URI in browser if server under debugging is ready.",
|
||||
|
||||
"debug.server.ready.serverReadyAction.description": "Server Ready options.",
|
||||
"debug.server.ready.pattern.description": "Server is ready if this pattern appears on the debug console. The first capture group must include the port number.",
|
||||
"debug.server.ready.uriFormat.description": "A format string used when constructing the URI. The first '%s' is substituted with the port number.",
|
||||
"debug.server.ready.webRoot.description": "Value is passed to the chrome debug configuration.",
|
||||
"debug.server.ready.action.description": "What to do with when the server is ready.",
|
||||
"debug.server.ready.action.openExternally.description": "Open URI externally.",
|
||||
"debug.server.ready.action.debugWithChrome.description": "Start debugging with the Debugger for Chrome."
|
||||
}
|
||||
Reference in New Issue
Block a user