Skip to content

Instantly share code, notes, and snippets.

@sorinstanila
Created August 9, 2020 10:22
Show Gist options
  • Save sorinstanila/dccb79a76623b253e45951c4ab1573fb to your computer and use it in GitHub Desktop.
Save sorinstanila/dccb79a76623b253e45951c4ab1573fb to your computer and use it in GitHub Desktop.
VScode launch config with parameters
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Hearo Portal",
// "url": "https://52efa05e.eu.ngrok.io", // pwa local
"url": "${input:urlLink}",
"webRoot": "${workspaceFolder}",
// "userDataDir": "${workspaceRoot}/.vscode/out/chrome",
"internalConsoleOptions": "neverOpen",
// "runtimeExecutable": "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
"serverReadyAction":{
"action": "openExternally"
}
}
],
"inputs": [
{
"type": "promptString",
"id": "urlLink",
"description": "Please provide the URL",
"default": "http://localhost:3000"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment