Last active
October 20, 2022 10:11
-
-
Save ipedrazas/5dd7f1e9ceed6e9a68d4d94b351a398e to your computer and use it in GitHub Desktop.
Debug statements for Makefile extensions
This file contains 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
{ | |
"extd": { | |
"scope": "makefile,make", | |
"prefix": "extd", | |
"body": [ | |
"debug: # Show Chrome-dev tools", | |
" docker extension dev debug $(IMAGE):$(TAG)", | |
"debug-reset: # Reset Chrome-dev tools", | |
" docker extension dev reset $(IMAGE):$(TAG)", | |
"debug-ui: # Set UI hot reload", | |
" docker extension dev ui-source $(IMAGE):$(TAG) http://localhost:3000", | |
"ui-run:", | |
" cd ui && npm start" | |
], | |
"description": "Add debug statements to extensions Makefile" | |
} | |
} |
This file contains 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
debug: # Show Chrome-dev tools | |
docker extension dev debug $(IMAGE):$(TAG) | |
debug-reset: # Reset Chrome-dev tools | |
docker extension dev reset $(IMAGE):$(TAG) | |
debug-ui: # Set UI hot reload | |
docker extension dev ui-source $(IMAGE):$(TAG) http://localhost:3000 | |
ui-run: | |
cd ui && npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment