debugging problems

Hi,

I am trying to debug one of my applications on OS X with IDEA 2.6. The
problem is that the application tries to open several files in the
current working directory. Therefore I have set the working directory
appropriately in the running dialog. This seems to work fine as long as
I only try to run the program. If I insert a
System.out.println(System.getProperty("user.dir"));
I get the correct value. If I click on Debug instead of run I'll get
/Applications/IntelliJ_IDEA_2.6/bin
Obviously, it won't find any of my files in there and fail.

Now here is the 64$ question: is this a bug in IDEA or am I missing
something very obvious?

Best regards,

Dirk Dittert

Please sign in to leave a comment.