Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Can't debug Java project in IDEA IntelliJ 12

Problem was catalina.sh was calling setenv.sh which was setting JAVA_OPTS like this:

Click to copy
    JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"

I don't know where this setenv.sh came from, as a co-worker's homebrew install of tomcat didn't have this file.

For now, I've configured IntelliJ debug to use catalina_idea_debug.sh, which is simply a copy of catalina.sh minus the call to setenv.sh. Works fine now.

Tags:

Java

Debugging

Intellij Idea

Tomcat7

Catalina

Related

Log4net html formatted SmtpAppender How to parse a string separated by commas? What is the proper way to modify OpenGL vertex buffer? Serializing Typesafe Config objects How is a pivot table created by Laravel? WCF - An error occurred while receiving the HTTP response to http://xxxxx/Service/ Get current AUTO_INCREMENT value for any table How to properly use mock in python with unittest setUp Converting random bytes to an integer range - how? Inno Setup parameter with quotes in [Run] section Select data between a date/time range How to make a html page to show content from another url

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy