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

0.1.2.0 version can not debug/run war #329

Closed
cooml opened this issue Oct 27, 2021 · 10 comments · Fixed by #331
Closed

0.1.2.0 version can not debug/run war #329

cooml opened this issue Oct 27, 2021 · 10 comments · Fixed by #331
Labels
Milestone

Comments

@cooml
Copy link

cooml commented Oct 27, 2021

0.1.2.0 version can not debug/run war

@KoMaBeLu
Copy link

Having the same issue

@JoaquinBenitez
Copy link

I think the command to Debug a war has stopped working.

You can still run or debug if you do: Right click -> Debug on tomcat server, on the folder that has the same name as your war

E.g: Inside target I have some folders, one of them API, and API.war, and API.war doesn't work when trying to debug it, so right click on API folder and Debug on tomcat server. That worked for me.

@Walker088
Copy link

Walker088 commented Oct 27, 2021

Having the same issue here, I guess the only work around now would be downgrade to the previous version.

Try uninstall the plugin, and by the following idea:

$ wget https://github.com/adashen/vscode-tomcat/releases/download/v0.11.2/vscode-tomcat-0.11.2.vsix
$ code --install-extension vscode-tomcat-0.11.2.vsix

after that I'm now able to use it lol

btw, right click neither on the war file or the folder work for me

@sledwa
Copy link

sledwa commented Oct 27, 2021

same issue. thanks @Walker088 , your solution worked for me.

@KoMaBeLu
Copy link

@Walker088 this is only useful if you don't rely on the feature introduced by PR #318 for setting a custom JAVA_HOME, I had to downgrade to my own custom implementation of this extension to be able to work

@cooml
Copy link
Author

cooml commented Oct 28, 2021

Thanks @JoaquinBenitez , your solution worked for me.
@sledwa, I think we don't need downgrade to the previous version. use folder instead of war file debug on tomcat server

@Eskibear
Copy link
Collaborator

Please try if below fix works, extract and install the .vsix file.

vscode-tomcat-0.12.0-fix-debug-war.zip

@Walker088
Copy link

Please try if below fix works, extract and install the .vsix file.

vscode-tomcat-0.12.0-fix-debug-war.zip

The patch fix both on my Ubuntu and Windows WSL machines

@Eskibear
Copy link
Collaborator

@Walker088 Thank you for the feedback. I've already shipped it with v0.12.1. Hope it will unblock you guys.

@chunyisong
Copy link

v0.12.1 version still can not debug/run war file on win10 vscode!
Only on work on the folder.

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.

7 participants