diff --git a/schoolapps/timetable/pdf.py b/schoolapps/timetable/pdf.py
index 13d418780209b4c49b8dfe7039995516ab7acb50..2cce9d5ecd68e85df85a0a712a0e6cdab62f58ae 100644
--- a/schoolapps/timetable/pdf.py
+++ b/schoolapps/timetable/pdf.py
@@ -116,8 +116,10 @@ def generate_pdf(tex, filename):
     # Execute pdflatex to generate the PDF
     bash_command = "pdflatex -output-directory {} {}.tex".format(os.path.join(BASE_DIR, "latex"),
                                                                  os.path.join(BASE_DIR, "latex", filename))
+    print(bash_command)
     process = subprocess.Popen(bash_command.split(), stdout=subprocess.PIPE)
     output = process.communicate()[0]
+    print(output)
 
 
 def tex_replacer(s):