Skip to content

Commit

Permalink
Set show_internal_console_if_traceback to True when DEV mode or testi…
Browse files Browse the repository at this point in the history
…ng is activated.
  • Loading branch information
rlaverde committed Jun 6, 2017
1 parent f93a99f commit a4bba99
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spyder/app/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,11 @@ def signal_handler(signum, frame=None):
if options.window_title is not None:
title += ' -- ' + options.window_title

if DEV or DEBUG or PYTEST:
# Show errors in internal console when developing or testing.
CONF.set('main', 'show_internal_console_if_traceback', True)


self.base_title = title
self.update_window_title()
resample = os.name != 'nt'
Expand Down

0 comments on commit a4bba99

Please sign in to comment.