Forum Discussion

msandoval's avatar
msandoval
Occasional Contributor
2 years ago

Debug external groovy library

Hi😃

 

I currently have an external groovy library, meaning I have a folder with 3 .groovy files, the question I have is, how can I debug these without a mocking library?

 

I use VS code but I also have Groovy Shell and IntelliJ, in case is needed

 

Thanks!😊

  • nmrao's avatar
    nmrao
    Champion Level 3

    Not sure if you really need this. I belive, readyapi allows to debug the scripts in the groovy script.

     

    You may have to modify the .vmoptions or readyapi.bat/sh file to add the listen port and use that port to connect from IDE.

     

    You can search for remote java debugging.