1.Click Run > Debug As > Remote Application.
2.You cannot do this in Eclipse.
3.Create and run a configuration under Run > Debug Configurations > Remote Java Application.
4.Click Run > External Tools.
Answer:3