1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-18 05:59:13 +01:00
slate/.vscode/launch.json
Alex ab62da2064
chore: add vscode launch.json debug config (#4729)
* chore: add vscode launch.json debug config

* add changeset
2021-12-17 05:01:10 -07:00

62 lines
1.8 KiB
JSON

{
// 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": "firefox",
"request": "launch",
"reAttach": true,
"name": "Debug in Firefox",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"outFiles": [
"${workspaceFolder}/packages/*/dist/**/*.js",
"!**/node_modules/**"
],
"pathMappings": [
{
"url": "webpack://_n_e/src/interfaces",
"path": "${workspaceFolder}/packages/slate/src/interfaces"
},
{
"url": "webpack://_n_e/src/transforms",
"path": "${workspaceFolder}/packages/slate/src/transforms"
},
{
"url": "webpack://_n_e/src/utils",
"path": "${workspaceFolder}/packages/slate/src/utils"
},
{
"url": "webpack://_n_e/src/components",
"path": "${workspaceFolder}/packages/slate-react/src/components"
},
{
"url": "webpack://_n_e/src/hooks",
"path": "${workspaceFolder}/packages/slate-react/src/hooks"
},
{
"url": "webpack://_n_e/src/plugin",
"path": "${workspaceFolder}/packages/slate-react/src/plugin"
},
{
"url": "webpack://_n_e/src/utils",
"path": "${workspaceFolder}/packages/slate-react/src/utils"
}
]
},
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"outFiles": [
"${workspaceFolder}/packages/*/dist/**/*.js",
"!**/node_modules/**"
]
}
]
}