mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
feat: support heap profile and snapshot capture for tsserver
This commit is contained in:
@@ -2556,6 +2556,16 @@
|
||||
"TypeScript"
|
||||
]
|
||||
},
|
||||
"js/ts.tsserver.diagnosticDir": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%configuration.tsserver.diagnosticDir%",
|
||||
"scope": "window",
|
||||
"keywords": [
|
||||
"TypeScript",
|
||||
"diagnostic",
|
||||
"memory"
|
||||
]
|
||||
},
|
||||
"typescript.tsserver.maxTsServerMemory": {
|
||||
"type": "number",
|
||||
"default": 3072,
|
||||
@@ -2563,6 +2573,48 @@
|
||||
"markdownDeprecationMessage": "%configuration.tsserver.maxTsServerMemory.unifiedDeprecationMessage%",
|
||||
"scope": "window"
|
||||
},
|
||||
"js/ts.tsserver.heapSnapshot": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"markdownDescription": "%configuration.tsserver.heapSnapshot%",
|
||||
"scope": "window",
|
||||
"keywords": [
|
||||
"TypeScript",
|
||||
"memory",
|
||||
"diagnostics"
|
||||
]
|
||||
},
|
||||
"js/ts.tsserver.heapProfile": {
|
||||
"type": "object",
|
||||
"default": {
|
||||
"enabled": false
|
||||
},
|
||||
"markdownDescription": "%configuration.tsserver.heapProfile%",
|
||||
"scope": "window",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%configuration.tsserver.heapProfile.enabled%"
|
||||
},
|
||||
"dir": {
|
||||
"type": "string",
|
||||
"description": "%configuration.tsserver.heapProfile.dir%"
|
||||
},
|
||||
"interval": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"description": "%configuration.tsserver.heapProfile.interval%"
|
||||
}
|
||||
},
|
||||
"keywords": [
|
||||
"TypeScript",
|
||||
"memory",
|
||||
"heap",
|
||||
"profile"
|
||||
]
|
||||
},
|
||||
"js/ts.tsserver.watchOptions": {
|
||||
"description": "%configuration.tsserver.watchOptions%",
|
||||
"scope": "window",
|
||||
|
||||
Reference in New Issue
Block a user