Skip to content

Commit

Permalink
chore: Update .vscode/launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
saltyshiomix committed Jan 16, 2025
1 parent e0781af commit 3e33477
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 32 deletions.
24 changes: 8 additions & 16 deletions examples/_template/js/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,28 @@
"version": "0.2.0",
"configurations": [
{
"name": "Nextron: Main",
"name": "nextron:main",
"type": "node",
"request": "attach",
"protocol": "inspector",
"port": 9292,
"skipFiles": ["<node_internals>/**"],
"sourceMapPathOverrides": {
"webpack:///./~/*": "${workspaceFolder}/node_modules/*",
"webpack:///./*": "${workspaceFolder}/*",
"webpack:///*": "*"
}
"localRoot": "${workspaceFolder}",
"sourceMaps": true
},
{
"name": "Nextron: Renderer",
"name": "nextron:renderer",
"type": "chrome",
"request": "attach",
"port": 5858,
"timeout": 10000,
"urlFilter": "http://localhost:*",
"webRoot": "${workspaceFolder}/app",
"sourceMapPathOverrides": {
"webpack:///./src/*": "${webRoot}/*"
}
"webRoot": "${workspaceFolder}/renderer",
"sourceMaps": true
}
],
"compounds": [
{
"name": "Nextron: All",
"preLaunchTask": "dev",
"configurations": ["Nextron: Main", "Nextron: Renderer"]
"name": "all",
"configurations": ["nextron:main", "nextron:renderer"]
}
]
}
24 changes: 8 additions & 16 deletions examples/_template/ts/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,28 @@
"version": "0.2.0",
"configurations": [
{
"name": "Nextron: Main",
"name": "nextron:main",
"type": "node",
"request": "attach",
"protocol": "inspector",
"port": 9292,
"skipFiles": ["<node_internals>/**"],
"sourceMapPathOverrides": {
"webpack:///./~/*": "${workspaceFolder}/node_modules/*",
"webpack:///./*": "${workspaceFolder}/*",
"webpack:///*": "*"
}
"localRoot": "${workspaceFolder}",
"sourceMaps": true
},
{
"name": "Nextron: Renderer",
"name": "nextron:renderer",
"type": "chrome",
"request": "attach",
"port": 5858,
"timeout": 10000,
"urlFilter": "http://localhost:*",
"webRoot": "${workspaceFolder}/app",
"sourceMapPathOverrides": {
"webpack:///./src/*": "${webRoot}/*"
}
"webRoot": "${workspaceFolder}/renderer",
"sourceMaps": true
}
],
"compounds": [
{
"name": "Nextron: All",
"preLaunchTask": "dev",
"configurations": ["Nextron: Main", "Nextron: Renderer"]
"name": "all",
"configurations": ["nextron:main", "nextron:renderer"]
}
]
}

0 comments on commit 3e33477

Please sign in to comment.