-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Description:
$subject
Steps to reproduce:
Add a debug point in main() function and run the program in debug mode.
import ballerina/io;
public function main() {
io:println("Hello, World!");
}
The following output will be shown in the debug consolde:
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...
/Library/Ballerina/distributions/ballerina-slp1/bin/ballerina run --debug 54444 --sourceroot /Users/praveen/Desktop/test/balProject2 balModule
Compiling source
praveen/balModule:0.1.0
Creating balos
target/balo/balModule-2020r2-any-0.1.0.balo
target/bin/balModule.jar
Running executables
Listening for transport dt_socket at address: 54444
Connection to debug server at host:127.0.0.1 and port: 54444 could not be established.
Process finished with exit code 130 (interrupted by signal 2: SIGINT)
Affected Versions:
Ballerina - 1.2.8