Created
March 19, 2021 12:54
-
-
Save sheshtawy/198b7a68d141b19d2e25d99725a0e5dc to your computer and use it in GitHub Desktop.
Some handy VS Code snippets for Elixir debugging, follow the steps here to create a new snippets file for elixir, the add these to it https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "IEx.pry": { | |
| "prefix": "pry", | |
| "body": [ | |
| "require IEx", | |
| "IEx.pry()$0" | |
| ], | |
| "description": "Insert a pry breakpoint" | |
| }, | |
| "IO.inspect": { | |
| "prefix": "inspect", | |
| "body": [ | |
| "IO.inspect($1)$0" | |
| ], | |
| "description": "Insert a pry breakpoint" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment