sivaprasad9394
Occasional Collector

Re: How to debug in IDE for Site Architect in FS_Version:5.2.230510

Hi Windmüller,

Thank you for your reply and time.

1) Configured the below things in FSLauncher.vmoptions,

-DclientDebugging=true
-DpreferredClientDebugPort=5005

2) Opened the Specific project via Site architect and launcher is showing  the random port number only,

Debug Port: 58314

Error_eclipse_Debug.png

 

3) Opened my IDE(Eclipse) installation location and eclipse.ini file add the Command line Argument for remote JVM as below,

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=58314

eclipse_ini.png

4) Now opened the IDE(Eclipse) and selected the project and in menu clicked Debug configuration and configured the host and port as mentioned in the image above,

Eclipse_Remote_Debug_error.png

-- Still same error occurs

Also verified the port is listening or not,

port_listening.png

 

-- Eclipse (and every other IDE) always uses a socket to connect to a JVM to debug. It doesn't matter whether the JVM is on the same computer or not. 

-- My IDE(Eclipse) Network Connections have Office proxy settings configured.

My Question is :

Do we need to do any thing with Fire wall or Network configuration ??

If yes, for random port generation how we can go for firewall settings in office network with proxy ?

 

Thank you,

Siva

 

 

Tags (1)
0 Kudos
Windmüller
Crownpeak employee
Crownpeak employee

Re: How to debug in IDE for Site Architect in FS_Version:5.2.230510


3) Opened my IDE(Eclipse) installation location and eclipse.ini file add the Command line Argument for remote JVM as below,

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=58314

Please revert this step. It tells Eclipse to open a debug port, but you want to debug SiteArchitect, not Eclipse.

 

Do we need to do any thing with Fire wall or Network configuration ??

Normally, connections to localhost should not be blocked. The debug port is open and ready for connection. Please ask your system administrator if something blocks the connection.

0 Kudos