1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-02-06 05:40:09 +00:00
bramw_baserow/config/vscode/.vscode/launch.json
Jeremie Pardou-Piquemal 2f34b99fb9 Add enterprise plugin
2022-09-22 10:00:59 +02:00

98 lines
3.2 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": [
{
"name": "client: chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"cwd": "${workspaceFolder}/web-frontend",
"webRoot": "${workspaceFolder}/web-frontend"
},
{
"name": "client: firefox",
"type": "firefox",
"request": "launch",
"url": "http://localhost:3000",
// "cwd": "${workspaceFolder}/web-frontend",
"webRoot": "${workspaceFolder}/web-frontend"
},
{
"name": "backend: django",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "/baserow"
}
]
},
{
"name": "pytest coverage",
"type": "python",
"request": "launch",
"module": "pytest",
"cwd": "${workspaceFolder}",
"args": [
"-n=3",
"--cov-report=xml:html_coverage/cov.xml",
"--cov-config=${workspaceFolder}/backend/.coveragerc",
"--cov=baserow",
"backend/tests/",
"premium/backend/tests/",
"enterprise/backend/tests/"
],
"env": {
"DATABASE_HOST": "localhost",
"PYTHONPATH": "$PYTHONPATH:backend/src:premium/backend/src:enterprise/backend/src",
"DJANGO_SETTINGS_MODULE": "baserow.config.settings.dev",
"BASEROW_PUBLIC_URL": "http://localhost:3000",
},
},
{
"name": "vscode-jest-current-file",
"type": "node",
"runtimeVersion": "16.15.0",
"request": "launch",
"cwd": "${workspaceFolder}/web-frontend",
"program": "./node_modules/jest/bin/jest",
"args": [
"${fileBasename}",
"--verbose",
"-i",
"--no-cache"
],
"env": {
"PRIVATE_BACKEND_URL": "http://localhost:8000"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "vscode-jest-tests",
"type": "node",
"runtimeVersion": "16.15.0",
"request": "launch",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"cwd": "${workspaceFolder}/web-frontend",
"program": "node_modules/.bin/jest",
"args": [
"--config=jest.config.js",
"--runInBand",
"--watchAll=false",
],
"env": {
"PRIVATE_BACKEND_URL": "http://localhost:8000"
},
},
]
}