Skip to content

Instantly share code, notes, and snippets.

@Jarrio
Created January 19, 2023 16:30
Show Gist options
  • Save Jarrio/c8c89f9146f046b7933cd155cebddb00 to your computer and use it in GitHub Desktop.
Save Jarrio/c8c89f9146f046b7933cd155cebddb00 to your computer and use it in GitHub Desktop.
ceramic vscode launch.js config
{
"version": "0.2.0",
"configurations": [
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}/project/web",
"timeout": 30000,
"sourceMaps": true,
"smartStep": true,
"preLaunchTask": "ceramic: active configuration"
},
{
"name": "Electron: Main",
"request": "launch",
"type": "node",
"cwd": "${workspaceFolder}/project/web",
"runtimeExecutable": "electron",
"runtimeArgs": [
"--remote-debugging-port=9223",
"main.js"
],
},
{
"name": "Debug Web",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}/project/web",
"sourceMaps": true,
"disableNetworkCache": true,
"smartStep": true
},
],
"compounds": [
{
"name": "Electron: All",
"configurations": [
"Electron: Main",
"Electron: Renderer"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment