I've recently switched to IDEA from Eclipse and because of that I have every day problems. Some I can resolve with myself, some not. This is problem, that I can't resolve about 2 hours.
I used to use in Eclipse remote debugging of JBoss server. I don't like to run it from IDE. I run server from console and then when I need it I remotely connect to it. So I know about required configuration of JBoss like additional JAVA_OPTS "-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,suspend=n,server=y". Moreover after JBoss was started I can connect to it with Exclipse but not with IDEA. I found several solutions but they are very old and didn't work on new IDEA and JBoss.
Only one works - starting JBoss under sudo, but it is unacceptable.((
My configuration - OSX 1.8.2, JBoss AS7, IDEA 12 and I've attached my debug config dialog.
And yes despite of all my switching problem I think I'll love IDEA.))
Thanks in advance.