IntelliJ debug is not working

Answered

I am getting below errror and unable to start local websphere in intellij 

 

"C:\Program Files\IBM\WebSphere\AppServer\profiles\TestProfile1\bin\generated_websphere_server_start_script.cmd"
"C:\Program Files\IBM\WebSphere\AppServer\java\8.0\bin\java.exe" -Dfile.encoding=windows-1252 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2020.1.2\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper C:\Users\a047853\AppData\Local\Temp\idea_classpath1556677256 com.intellij.javaee.oss.process.JavaeeProcess 52781 com.intellij.j2ee.webSphere.agent.WebSphereAgent
[2020-08-18 03:34:09,120] Artifact TST_EAR:ear: Waiting for server connection to start artifact deployment...
Detected server admin port: 8881
Detected server http port: 9081
Connected to the target VM, address: '127.0.0.1:77777', transport: 'socket'
Error: Could not find or load main class Files\Microsoft
Disconnected from the target VM, address: '127.0.0.1:77777', transport: 'socket'
Disconnected from server

 

1. Intellij Ultimate 2020.1 is not working in debug mode. Server is not starting in debug mode.

 

2. Alternatively tried with giving the startup script, server successfully started, but it is not runs in debug mode

 

3. Also, I tried adding Pass environment variables, debug does not work

WAS_DEBUG=-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7777

 

Please help

0
5 comments

Looks like it's related to IDEA-239827.

Check if you have the same entry in PATH environment variable and fix it as described in the issue description.

0
Avatar
Permanently deleted user

Yes, I have PATH environment variable set already. But still I am unable to start the server in DEBUG mode

 

Error as 

 

0

@... Can you attach one more screenshot to see all environment settings? Make sure that you don't have any duplicated entries.

0
Avatar
Permanently deleted user

0

Try to delete one of these entries http://prntscr.com/u3irk0.

Unfortunately, it's still not clear why the issue occurs.

Please add #com.intellij.j2ee.webSphere:trace in Help | Debug Log Settings, then start the server again from the IDE to reproduce the problem, and upload the fresh idea.log file with debug logging (https://intellij-support.jetbrains.com/hc/articles/207241085).

The files can be uploaded via our service https://uploads.jetbrains.com/. (Please do not forget to share the Upload ID)

0

Please sign in to leave a comment.