If the main class is located in the enclosing class of a Java file,  launching debugger will throw error `Failed to resolve classpath 'Main$Main1' doesn't exist in the workspace`. Actually the class exists. 