apache / apache/grails-intellij-plugin

Debugging is not working for a Grails 3 script

Open
#331 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

What steps will reproduce the issue?
1. Write a groovy script
2. Set a breakpoint
3. Create a new Run/Debug configuration with a command line "run-script scripts/HelloWorld.groovy"
4. hit the debug button

What is the expected result?
The debugger stops at the breakpoint

What happens instead?
The script runs until the end, the breakpoint is ignored

I attached the Dummy Grails application and the idea.log

---

*Imported from [IDEA-190144](https://youtrack.jetbrains.com/issue/IDEA-190144) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached Dummy Grails application and idea.log, then reproduce the issue using a Run/Debug configuration with the `run-script scripts/HelloWorld.groovy` command. Trace the debug launch path for the Groovy script and verify that execution stops at the configured breakpoint instead of running to completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.