提交 d7f5c295 编写于 作者: A Andre Weinand

nls debug-server-ready

上级 0080bd3a
......@@ -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}"
}
}
......
{
"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."
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册