Perl - Die statement not shown when executing with F7 (Go)

In the IDE I noticed that when I execute a die statement in Perl using debug (F5) then the die statement is printed in the window.

When using F7 (Go) the die statement is not shown and it is not obvious that there is a problem with the program.

When running Perl without the IDE via the console the die message is shown.

The die statement is in a module, not in the main.

Am I doing something wrong?