Created
June 10, 2025 00:58
-
-
Save yamitake/a75b42ec75f32c887ab4e4128201db6a to your computer and use it in GitHub Desktop.
VS Code Debug Configuration for Zenn Preview This launch.json configuration allows you to easily preview your Zenn articles locally within VS Code. It leverages npx zenn preview to start a local development server and automatically opens the preview in your browser when the server is ready. This streamlines the writing and reviewing process for …
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Zenn Preview", | |
"runtimeExecutable": "npx", | |
"runtimeArgs": ["zenn", "preview"], | |
"cwd": "${workspaceFolder}", | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"serverReadyAction": { | |
"pattern": "http://localhost:([0-9]+)", | |
"uriFormat": "http://localhost:%s", | |
"action": "openExternally" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment