Page 1 of 1

Are there any instructions related specifically to Windows 10 bash?

Posted: Tue Jan 11, 2022 1:34 pm
by pwExplorer
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PrimalScript, 2022
Operating system: Windows 10
PowerShell version(s): 5.1

*** Please add details and screenshots as needed below. ***

Hi,

Other than

(I tried inserting a link here, but received a message that a minimim of 5 posts is needed before including external links - even though the external link in questions is from info-sapien).

The info-sapien knowledgebase page titled "Using Bash with PrimalScript"

, are there any further instructions on how to debug Windows bash scripts - not cygwin, but rather the one that can be selected on in "Turn Windows features on or off - in PrimalScript? The feature is called Windows Subsystem for Linux, and I already have that working.

I tried following the instructions in the link above. But after selecting Command Window and restarting, I don't understand how to start or load an .sh script. Strictly speaking, I don't really need PrimalScript for this, but wanted to see if it supported Single Step debugging for Windows bash scripts.

Re: Are there any instructions related specifically to Windows 10 bash?

Posted: Wed Jan 12, 2022 9:50 am
by Alexander Riedel
The debugger for bash scripts is built into the bash console. As far as I know there is no external API, so it cannot be tied to PrimalScript's debugging interface.

Re: Are there any instructions related specifically to Windows 10 bash?

Posted: Wed Jan 12, 2022 12:40 pm
by pwExplorer
Well, that's the answer. At least I don't have to waste time searching around.

Ok, thanks A.R.