mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Add default vscode config for khoj to ease development setup
This commit is contained in:
35
.vscode/launch.json
vendored
Normal file
35
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Khoj",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "src.khoj.main",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"sudo": false,
|
||||
"args": [
|
||||
"-v",
|
||||
"--anonymous-mode",
|
||||
// "--non-interactive",
|
||||
"--port=42110",
|
||||
// "--host=example.com",
|
||||
// "--sslcert=ssl.crt",
|
||||
// "--sslkey=ssl.key",
|
||||
],
|
||||
"envFile": "${workspaceFolder}/.env",
|
||||
"env": {
|
||||
"KHOJ_DEBUG": "true",
|
||||
"KHOJ_TELEMETRY_DISABLED": "true",
|
||||
"USE_EMBEDDED_DB": "true",
|
||||
// Configure Code Sandbox
|
||||
// "KHOJ_TERRARIUM_URL": "http://localhost:8080",
|
||||
// Enable Promptracer to debug prompt flows
|
||||
// "PROMPTRACE_DIR": "\${workspaceFolder}/promptrace",
|
||||
// Enable Khoj Operator
|
||||
// "KHOJ_OPERATOR_ENABLED": "True",
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"python.testing.pytestArgs": [
|
||||
"tests"
|
||||
],
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true
|
||||
}
|
||||
Reference in New Issue
Block a user