我编写了简单的Hello world Perl脚本,并在Idea调试器下成功运行了一次。我能够跳过语句,查看调试器中的值等。
但只有一次。
下一次调试不会开始说
Waiting for process to start...我需要重新启动Idea才能再次调试。
如何修复?
发布于 2021-08-19 21:06:04
它在带有perlbrew perl版本5.32.1的macOS 11.2.3上运行良好:
正如wiki页面上所指出的,您需要首先安装Devel::Camelcadedb模块。我安装了包含上述模块的Bundle::Camelcade。
当我现在选择“运行”“->”“调试..”在IntelliJ菜单中,第二次显示:
/Users/hakonhaegland/perl5/perlbrew/bin/perlbrew exec -q --with perl-5.32.1 /Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.1/bin/perl -I/Users/hakonhaegland/IdeaProjects/HelloWorld/lib -d:Camelcadedb /Users/hakonhaegland/IdeaProjects/HelloWorld/Hello.pl
Waiting for process to start...
Listening for the IDE connection at 0.0.0.0:49310...
Connecting to localhost:49310...
Connected
Hello world!
var = 3
Process finished with exit code 0
Disconnectedhttps://stackoverflow.com/questions/68846177
复制相似问题