@@ -25,9 +25,9 @@ to view and filter objects graphically.
2525
2626## Development
2727
28- ### 1. Install PowerShell 7.1 +
28+ ### 1. Install PowerShell 7.2 +
2929
30- Install PowerShell 7.1 + with [ these instructions] ( https://github.com/PowerShell/PowerShell#get-powershell ) .
30+ Install PowerShell 7.2 + with [ these instructions] ( https://github.com/PowerShell/PowerShell#get-powershell ) .
3131
3232### 2. Clone the GitHub repository
3333
@@ -72,29 +72,15 @@ PS ./GraphicalTools> code .
7272
7373Build by hitting ` Ctrl-Shift-B ` in VS Code.
7474
75- To debug:
75+ Set a breakpoint and hit ` F5 ` to start the debugger.
7676
77- In a PowerShell session in the ` ./GraphicalTools ` directory, run ` pwsh ` (thus
78- nesting PowerShell).
79-
80- Then do the folowing:
77+ Click on the VS Code "TERMINAL" tab and type your command that starts ` Out-ConsoleGridView ` , e.g.
8178
8279``` powershell
83- Import-Module ./module/Microsoft.PowerShell.ConsoleGuiTools
84- $pid
80+ ls | ocgv
8581```
8682
87- This will import the latest built DLL and output the process ID you'll need
88- for debugging. Copy this ID to the clipboard.
89-
90- In VScode, set your breakpoints, etc. Then hit ` F5 ` . In the VScode search
91- box, paste the value printed by ` $pid ` . You'll see something like `pwsh.exe
92- 18328`. Click that and the debug session will start.
93-
94- In the PowerShell session run your commands; breakpoints will be hit, etc.
95-
96- When done, run ` exit ` to exit the nested PowerShell and run ` pwsh ` again.
97- This unloads the DLL. Repeat.
83+ Your breakpoint should be hit.
9884
9985## Contributions Welcome
10086
0 commit comments