-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't debug Gradle process #11
Comments
big-andy-coates
added a commit
to big-andy-coates/attachme
that referenced
this issue
Oct 22, 2022
...to avoid additional output in processes picking up the `JAVA_TOOL_OPTIONS`. Without quiet mode the process will output something like line below as its first line to stdout, which can cause problems in some situations, i.e. where the output is being consumed by another process. ``` Listening for transport dt_socket at address: 53880 ``` fixes: JetBrains#11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd love to be able to use this plugin to debug Gradle plugins and processes spawned by Gradle.
Unfortunately, after running
source ~/.attachme/conf.sh
all Gradle tasks fail with the output:The issue is that Gradle is probing the JVM to determine its version and isn't expecting the "Listening for transport dt_socket at address: 53880" line in the output.
The workaround is to edit
~/.attachme/conf.sh
to switch jdwp to 'quiet' mode:Would be nice if the workaround was not needed.
The text was updated successfully, but these errors were encountered: