DEV Community

Discussion on: Debug Crystal in VSCode via CodeLLDB

Collapse
 
dinkopehar profile image
Dinko Pehar

Is there any way to enable debugging on spec files when running crystal spec spec/path_to_spec.cr ? I would like to step over code and see variables while execution is running ?

Collapse
 
dinkopehar profile image
Dinko Pehar

Actually, I found solution. Since crystal spec builds and runs, I just build binary and then I was able to debug it using LLDB.