From 0476e7782c9e9a1e5304e54e0875e28793773cb7 Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Fri, 14 Apr 2017 11:29:51 -0400 Subject: [PATCH] Build IntelliJ project with full debug info By default[1], javac only includes line number and source file information in compiled outputs. Notably, this doesn't include local variable debugging information, which means debugging tests in IntelliJ won't be able to show local vars. Pass the necessary javac flag. [1] http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html Change-Id: I1d94ab3811ac590c9e533780d4e910cab6ff0506 --- .bazelproject | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bazelproject b/.bazelproject index 41bb27f676..e3a7a9c3ee 100644 --- a/.bazelproject +++ b/.bazelproject @@ -18,3 +18,6 @@ targets: java_language_level: 8 workspace_type: java + +build_flags: + --javacopt=-g