-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doeesn't work due to debugger crashing on stack trace request. Related #69
- Loading branch information
1 parent
c420295
commit cf44cae
Showing
5 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configurations": { | ||
"launch": { | ||
"adapter": "PowerShell", | ||
"configuration": { | ||
"request": "launch", | ||
"Script": "${file}", | ||
"NoDebug": false, | ||
"StopOnEntry": true, | ||
"Args": [], | ||
"Cwd": "${workspaceRoot}", | ||
"CreateTemporaryIntegratedConsole": true, | ||
"Env": {} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
PIPE=$(python -c 'import json; print( json.load( open( "session.json" ))["debugServicePipeName"] )') | ||
|
||
ssh -L 4321:$PIPE localhost | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
PSES_BUNDLE_PATH=$HOME/.vim/bundle/vimspector/gadgets/macos/PowerShellEditorServices | ||
SESSION_TEMP_PATH=$(pwd) | ||
|
||
pwsh -NoProfile \ | ||
-Command \ | ||
"$PSES_BUNDLE_PATH/PowerShellEditorServices/Start-EditorServices.ps1 \ | ||
-BundledModulesPath $PSES_BUNDLE_PATH \ | ||
-LogPath $SESSION_TEMP_PATH/logs.log \ | ||
-SessionDetailsPath $SESSION_TEMP_PATH/session.json \ | ||
-FeatureFlags @() \ | ||
-AdditionalModules @() \ | ||
-HostName 'My Client' \ | ||
-HostProfileId 'myclient' \ | ||
-HostVersion 1.0.0 \ | ||
-EnableConsoleRepl \ | ||
-LogLevel Verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" | ||
echo "HELLO" |