astro-vscode 2.15.2 → 2.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "color": "#17191E",
25
25
  "theme": "dark"
26
26
  },
27
- "version": "2.15.2",
27
+ "version": "2.15.3",
28
28
  "author": "withastro",
29
29
  "license": "MIT",
30
30
  "publisher": "astro-build",
@@ -230,8 +230,8 @@
230
230
  ]
231
231
  },
232
232
  "devDependencies": {
233
- "@astrojs/language-server": "^2.15.0",
234
- "@astrojs/ts-plugin": "^1.10.2",
233
+ "@astrojs/language-server": "^2.15.3",
234
+ "@astrojs/ts-plugin": "^1.10.3",
235
235
  "@types/glob": "^8.1.0",
236
236
  "@types/mocha": "^10.0.1",
237
237
  "@types/node": "^18.17.8",
package/src/client.ts CHANGED
@@ -39,7 +39,9 @@ export async function activate(context: vscode.ExtensionContext): Promise<LabsIn
39
39
  : vscode.Uri.joinPath(context.extensionUri, 'dist/node/server.js').fsPath;
40
40
 
41
41
  const runOptions = { execArgv: [] };
42
- const debugOptions = { execArgv: ['--nolazy', '--inspect=' + 6009] };
42
+ const debugOptions = {
43
+ execArgv: ['--nolazy', '--inspect=' + Math.floor(Math.random() * 20000 + 10000)],
44
+ };
43
45
 
44
46
  const serverOptions: lsp.ServerOptions = {
45
47
  run: {