Part 2: Abstractions, Design, and Testing

Debugging your AllenNLP code

Some tips and tricks for using an IDE debugger with AllenNLP.

This is a guide to debugging AllenNLP code in both PyCharm and VSCode. If you have a different preferred debugger, these instructions will hopefully get you most of the way there.

1Some Code to Debug

2How to Debug in PyCharm, Using 'Run > Attach to Local Process'

3How to Debug in PyCharm, Using 'Run > Debug'

4How to Debug in VSCode