我用 main 制作了超级简单的 hello world 应用程序。
import ballerina/io;
public function main() {
io:println("Hello, World!");
}
我像往常一样在IDE“RED DOT”中设置断点(尝试了intellij和vscode)我去运行调试并且它不会在目标断点处停止。它编译好,输出“Hello, World!” 正如它应该
我已经尝试过的:
- 重新安装芭蕾舞女演员 1.0.4
- 重新安装插件
- 在两个 IDE 上都试过
- 用超级简单的哈罗世界开始新项目
控制台输出下
Ballerina Debugging is an experimental feature.
Visit https://ballerina.io/learn/tools-ides/intellij-plugin/using-intellij-plugin-features#debugging-ballerina-programs for known limitations and workarounds.
Waiting for debug process to start...
"C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.2\bin\runnerw64.exe" "C:/Program Files/Ballerina/ballerina-1.0.4/distributions/jballerina-1.0.4\bin\ballerina.bat" run --debug 52376 --sourceroot C:\nieTenKoziol\ballerina-test-debugger mod1
Please start the remote debugging client to continue...
Listening for transport dt_socket at address: 52376
Compiling source
nieTenKoziol/mod1:0.1.0
Creating balos
target\balo\mod1-2019r3-any-0.1.0.balo
Generating executables
target\bin\mod1.jar
Running executables
Hello, World!
Disconnected successfully from the debug server.
Terminate batch job (Y/N)?