I would like to create a script to modify my debug configuration in intellij. The path of tomcat changes, and i have to manually go into the run config and edit things. I ha
Its here .idea\runConfigurations (correct for Idea 11). Just copy this folder to new project.
EDIT: As per comment, if runConfigurations folder doesn't exist, check the 'Share' box inside the Run/Debug configuration
The location would depend on 2 factors, whether the configuration is local to the user or shared with the other developers and if you are using the file based (legacy) or the directory based project format.
.iws
fileworkspace.xml
file under .idea
directory.ipr
file.xml
file under runConfigurations
subdirectory of .idea
directory or files inside .run
directory in the project root (you can customize the location of the shared configurations in the latest versions).