diff --git a/.travis.yml b/.travis.yml
index 6a90720184..b7f1addf29 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -143,6 +143,8 @@ env:
     name: x86_64-linux
     os: linux
     <<: *gcc-8
+    env:
+      - TEST_MJIT_SYMBOLS=1 # detect exports missing for MJIT
 
   - &jemalloc
     name: --with-jemalloc
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index c1624cc3b2..acda166eb2 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -29,6 +29,7 @@ module JITSupport
     ]
     args << '--jit-wait' if wait
     args << '--jit-save-temps' if save_temps
+    args << '--jit-debug' if ENV['TEST_MJIT_SYMBOLS'] == '1'
     args << '-e' << script
     base_env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' } # workaround to skip requiring `make install` for `make test-all`
     if preloadenv = RbConfig::CONFIG['PRELOADENV'] and !preloadenv.empty?