Set breakpoints for shell script debugging in IntelliJ

Viewed 582

I am able to successfully run shell scripts and create and configure shell script run configurations in IntelliJ. However, I can't set breakpoints. When I try to put a breakpoint in the gutter or elsewhere as with regular Java debugging, no breakpoint appears. Has anyone had success with this, and if so how?

I'm using IntelliJ 2018.3.6 Community Edition.

1 Answers

Shell script debugging is supported only by the paid BashSupport Pro plug-in. You would also need the latest IntelliJ IDEA version to use it.

BashSupport Pro adds advanced features for shell scripts to your JetBrains IDE. You can debug Bash scripts, run bats-core tests and work efficiently with shell scripts.

debug in bashsupport pro

Related