title: How to troubleshoot a bokeh server using console
body: <p>Currently I am displaying a DataTable in a tab on a bokeh server. But I have a function in the main.py file that is expected to import another local python file and execute functions within it. When I call on the function referencing this local python file's function it doesn't execute on the bokeh server but works just fine in a juptyer notebook.</p>
  
  <p>I'm hoping someone might be able to tell me how to get some output to display on the bokeh server console so I can get an idea of what's going on with the bokeh server and why it's not able to apply the function successfully. As currently no errors or useful imformation is displayed on the bokeh server</p>
  
  <p>The function being called upon imports CSVs into a postgresql database and creates the tables if they don't already exist.</p>
  
  <pre><code>def cb_import_statements():
      Import_Statements().import_statements()
  
  cb_import_statements()
  </code></pre>
  
  <p>Only difference between the notebook and the server is the last line of displaying the bokeh layout. the call to cb_import_statements() works when it's in a juptyer notebook but doesn't seem to do anything when called using the bokeh server.</p>
  
  <p>I'm sure it's something simple but I haven't been able to find a way to identify why when I call that function it is failing to run.</p>