Skip to content

Commit dfd5d19

Browse files
rkeithhillTylerLeonhardt
authored andcommitted
[ignore] package lock merge conflict
1 parent b2c0adb commit dfd5d19

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
],
303303
"debuggers": [
304304
{
305-
"type": "powershell",
305+
"type": "PowerShell",
306306
"label": "PowerShell",
307307
"enableBreakpointsFor": {
308308
"languageIds": [
@@ -324,7 +324,7 @@
324324
"description": "Launch current file (in active editor window) under debugger",
325325
"body": {
326326
"name": "PowerShell Launch Current File",
327-
"type": "powershell",
327+
"type": "PowerShell",
328328
"request": "launch",
329329
"script": "^\"\\${file}\"",
330330
"args": [],
@@ -336,7 +336,7 @@
336336
"description": "Launch current file (in active editor window) under debugger in a temporary Integrated Console.",
337337
"body": {
338338
"name": "PowerShell Launch Current File in Temporary Console",
339-
"type": "powershell",
339+
"type": "PowerShell",
340340
"request": "launch",
341341
"script": "^\"\\${file}\"",
342342
"args": [],
@@ -349,7 +349,7 @@
349349
"description": "Launch current file (in active editor window) under debugger, prompting first for script arguments",
350350
"body": {
351351
"name": "PowerShell Launch Current File w/Args Prompt",
352-
"type": "powershell",
352+
"type": "PowerShell",
353353
"request": "launch",
354354
"script": "^\"\\${file}\"",
355355
"args": [
@@ -363,7 +363,7 @@
363363
"description": "Launch specified script or path to script under debugger",
364364
"body": {
365365
"name": "PowerShell Launch ${Script}",
366-
"type": "powershell",
366+
"type": "PowerShell",
367367
"request": "launch",
368368
"script": "^\"\\${workspaceFolder}/${Script}\"",
369369
"args": [],
@@ -375,7 +375,7 @@
375375
"description": "Invokes Pester tests under debugger",
376376
"body": {
377377
"name": "PowerShell Pester Tests",
378-
"type": "powershell",
378+
"type": "PowerShell",
379379
"request": "launch",
380380
"script": "Invoke-Pester",
381381
"args": [],
@@ -387,7 +387,7 @@
387387
"description": "Open host process picker to select process to attach debugger to",
388388
"body": {
389389
"name": "PowerShell Attach to Host Process",
390-
"type": "powershell",
390+
"type": "PowerShell",
391391
"request": "attach",
392392
"processId": "^\"\\${command:PickPSHostProcess}\"",
393393
"runspaceId": 1
@@ -398,7 +398,7 @@
398398
"description": "Start interactive session (Debug Console) under debugger",
399399
"body": {
400400
"name": "PowerShell Interactive Session",
401-
"type": "powershell",
401+
"type": "PowerShell",
402402
"request": "launch",
403403
"cwd": ""
404404
}

src/session.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,9 @@ export class SessionManager implements Middleware {
418418
if (!this.suppressRestartPrompt &&
419419
(settings.useX86Host !== this.sessionSettings.useX86Host ||
420420
settings.powerShellExePath.toLowerCase() !== this.sessionSettings.powerShellExePath.toLowerCase() ||
421-
settings.developer.powerShellExePath.toLowerCase() !==
422-
this.sessionSettings.developer.powerShellExePath.toLowerCase() ||
421+
(settings.developer.powerShellExePath ? settings.developer.powerShellExePath.toLowerCase() : null) !==
422+
(this.sessionSettings.developer.powerShellExePath
423+
? this.sessionSettings.developer.powerShellExePath.toLowerCase() : null) ||
423424
settings.developer.editorServicesLogLevel.toLowerCase() !==
424425
this.sessionSettings.developer.editorServicesLogLevel.toLowerCase() ||
425426
settings.developer.bundledModulesPath.toLowerCase() !==

0 commit comments

Comments
 (0)