Comments (6)
Hi
Just checked it on current master (Che) and codenvy.com. Failed to reproduce.
- Create a project
- Hit Run - Debug
- A debugger panel show us and you can then set a breakpoint in code
Were you using master or 4.0?
from che.
What version of java are you using. Which vendor?
from che.
If you're using JRE then you've to use JDK which provide tools.jar (providing JDI classes)
from che.
I'm using the master.
When i run java -version I get
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
I forget to mention that I'm running osx and therefore is using docker-machine. When I run the Spring project, it becomes available at (the docker-machine ip) http://192.168.99.100:50174 and the debugging port is 52178. But in the chrome console I see that it is trying to connect using:
GET http://localhost:8080/che/api/debug-java/1q2w3e/connect?host=localhost&port=52178 500 (Internal Server Error)
Trying to access the url above in the browser, returns "Connection refused", while this url
http://localhost:8080/che/api/debug-java/1q2w3e/connect?host=192.168.99.100&port=52178
returns:
{
"port": 52178,
"id": "15",
"vmVersion": "1.7.0_55",
"host": "192.168.99.100",
"vmName": "Java HotSpot(TM) 64-Bit Server VM"
}
So, is this the correct response, and if so, how can I make it use the other host? Or am I way off?
from che.
Yes, it looks like using the actual VM IP should fix the problem. Not sure this is configurable. We'll update you shortly with more details.
from che.
Okay. Thank you for the quick response.
from che.
Related Issues (20)
- Show error if activity tracker extension fails to ping machine-exec
- Unable to verify the first certificate when install vscode extension HOT 12
- Upgrade `react-router-dom`
- Unable to build che-code ubi9 image
- Make it possible to persist recommended vsx extension version in extensions.json file HOT 2
- Automatical mapping keybindings.json HOT 3
- Update smoke test pull request check due to dashboard improvements
- Update E2E tests due to changes in IDE related to 'More Actions' button in 'Source Control' view
- Add an ability to pass links to dashboard notifications.
- Cannot view GitHub PR descriptions using the GitHub Pull Requests extension
- Filter out "init-ssh-agent" from Che Code's Devfile task lists
- 'Eclipse Che: Open Dashboard' command does not work if workspace is stopped
- Workspace creation is stopped after clicking Continue in 'Trust the repository authors' popup
- [UD] Add ability to import/edit the Git Configuration if not using Oauth
- Setting up a private Open VSX registry
- Add images used in internal samples as RELATED_IMAGES variables into the che-operator container HOT 5
- Check for v1 yarn.lock updates
- Security Vulnerability: Server-Side Request Forgery (SSRF) in Axios HOT 1
- Workspace does not run when is applied Refused OAuth authorization
- Release Eclipse Che 7.92.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from che.