Skip to content
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

cant remote debug with Java9 + #1331

Closed
TemaniH opened this issue Apr 19, 2020 · 1 comment · Fixed by #1385
Closed

cant remote debug with Java9 + #1331

TemaniH opened this issue Apr 19, 2020 · 1 comment · Fixed by #1385
Labels

Comments

@TemaniH
Copy link

TemaniH commented Apr 19, 2020

Can't remote debug when working with Java 9+.

java_args.append('-Xrunjdwp:transport=dt_socket,address=%s,server=y,suspend=n' % self.jpda_port)

address arg has no ip address/hostname.

suggested solutions:

  • expose new jdpa_host config param and if set use new syntax.
  • resolve what java version is running and set accordingly.
  • combine the 2 options and allow jdpa_host config param to have default value.

referencies:

holajsh added a commit to holajsh/play1 that referenced this issue Feb 16, 2022
 * ♻ Adapt startup scripts to take into account new parameter
 * 📝 Update documentation for the new parameter jpda.address
@holajsh
Copy link
Contributor

holajsh commented Feb 21, 2022

As this is very annoying problem when running Play app in a Docker container I have done a PR for this.

xael-fry added a commit that referenced this issue Feb 22, 2022
…a_address

[#1331] 🆕 Add new parameter jpda.address support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants