diff --git a/.circleci/config.yml b/.circleci/config.yml
index 433e1c4e10e1ba49a44be5b92a5bedd3218d1ecc..e6d75302888dc4a7eeb8ba91ddab257b05a60665 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,8 +9,8 @@ orbs:
 
 workflows:
   sample:  # This is the name of the workflow, feel free to change it to better match your workflow.
-    # Inside the workflow, you define the jobs you want to run. 
-    # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows 
+    # Inside the workflow, you define the jobs you want to run.
+    # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows
     jobs:
       - build-and-test
 
@@ -35,10 +35,10 @@ jobs:
           pkg-manager: pip
           # app-dir: ~/project/package-directory/  # If you're requirements.txt isn't in the root directory.
           # pip-dependency-file: requirements.txt  # if you have a different name for your requirements file, maybe one that combines your runtime and test requirements.
-      - run:
-          name: Run tests
+      - install:
+          name: Install the software
           # This assumes pytest is installed via the install-package step above
-          command: >
-            python setup.py install
-            rm -rf minijson
-            pytest 
+          command: DEBUG=1 python setup.py install && rm -rf minijson
+      - test:
+          name: Test the software
+          command: pytest
diff --git a/setup.py b/setup.py
index e3b13263832224297f35aa99b8a835852dc66714..5b83bb50dbe36e6c8f31270c60accc4c627b5190 100644
--- a/setup.py
+++ b/setup.py
@@ -12,6 +12,7 @@ if 'DEBUG' in os.environ:
     dont_snakehouse = True
     build_kwargs.update(gdb_debug=True)
     directives['embedsignature'] = True
+    directives['linetrace'] = True
 
 
 setup(version='1.7',