wso2 / jaggery

The delicious Javascript framework
Apache License 2.0
115 stars 175 forks source link

eclipse remote debug throw " Failed to parse content length: " #91

Open yanyim opened 10 years ago

yanyim commented 10 years ago

i try to remote debug the jaggery project on windows 7.
i already put the jsdt jar in the "carbon\repository\components\dropins\" file path. the console command is " server --debug 9003 " but failed,the eclipse said "Error occured whild launching failed to parse content length"

the jaggery console print : {"argument< - expected >JDWP-Handshake< Debugger failed to attach: handshake failed - received >63 {"argument< - expected >JDWP-Handshake< Debugger failed to attach: handshake failed - received >63 {"argument< - expected >JDWP-Handshake< Debugger failed to attach: handshake failed - received >63 {"argument< - expected >JDWP-Handshake<

did i do something wrong?

fjcanobailen commented 10 years ago

Hello,

I have the same issue (sh ./server.sh --debug 9003) when I try to connect by Juno Eclipse > Debug > Mozilla Rhino - Attaching connector (same for Crossfire)

I opened an issue to align the command that we should configure at start time. (sh ./server.sh -DjsDebug=9008) -> (https://github.com/wso2/jaggery/issues/98)

Regards,