Skip to content

Commit 2bdf4bf

Browse files
committed
Remove debug adapter wrapper cmds for host process
This change removes the Microsoft.PowerShell.EditorServices.DebugAdapter.cmd files which were used to wrap invocation of the host process to pass the /debugAdapter parameter. This was needed because VS Code did not previously have a way to pass command line parameters to debug adapters at startup. Resolves #131
1 parent 5952d41 commit 2bdf4bf

5 files changed

+0
-24
lines changed

src/PowerShellEditorServices.Host.x86/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.x86.cmd

-8
This file was deleted.

src/PowerShellEditorServices.Host.x86/PowerShellEditorServices.Host.x86.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@
5353
<Compile Include="Properties\AssemblyInfo.cs" />
5454
</ItemGroup>
5555
<ItemGroup>
56-
<Content Include="Microsoft.PowerShell.EditorServices.Host.DebugAdapter.x86.cmd">
57-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
58-
</Content>
5956
<None Include="..\PowerShellEditorServices.Host\App.config">
6057
<Link>App.config</Link>
6158
</None>

src/PowerShellEditorServices.Host/Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd

-8
This file was deleted.

src/PowerShellEditorServices.Host/PowerShellEditorServices.Host.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
</ItemGroup>
5555
<ItemGroup>
5656
<None Include="App.config" />
57-
<Content Include="Microsoft.PowerShell.EditorServices.Host.DebugAdapter.cmd">
58-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
59-
</Content>
6057
</ItemGroup>
6158
<ItemGroup>
6259
<ProjectReference Include="..\..\submodules\PSScriptAnalyzer\Engine\ScriptAnalyzerEngine.csproj">

src/PowerShellEditorServices.Host/PowerShellEditorServices.Host.nuspec

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
</metadata>
2222
<files>
2323
<file src="bin\$configuration$\$id$.exe" target="lib\net45\" />
24-
<file src="bin\$configuration$\$id$.DebugAdapter.cmd" target="content\" />
2524
<file src="..\PowerShellEditorServices.Host.x86\bin\$configuration$\$id$.x86.exe" target="lib\net45\" />
26-
<file src="..\PowerShellEditorServices.Host.x86\bin\$configuration$\$id$.DebugAdapter.x86.cmd" target="content\" />
2725
</files>
2826
</package>

0 commit comments

Comments
 (0)