Files
quantconnect--lean/.vscode/launch.json
T
Alexandre Catarino 0c4a121371
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Updates .vscode Environment (#9317)
* Updates .vscode Environment

* Removes VS Code Intellicode

Deprecated. Built-in Roslyn completions are enough or users can add GitHub.copilot.
2026-03-09 18:02:29 -04:00

64 lines
2.1 KiB
JSON

{
/*
VS Code Launch configurations for the LEAN engine
Launch LEAN:
Builds the project and then launches the program using coreclr; supports debugging.
Requires the C# extension from the marketplace.
Run Tests:
Builds and runs tests with an optional filter prompt.
Attach to Python:
Will attempt to attach to LEAN running locally using DebugPy. Requires that the process is
actively running and config is set: "debugging": true, "debugging-method": "DebugPy",
Requires Python extension from the marketplace.
*/
"version": "0.2.0",
"configurations": [
{
"name": "Launch LEAN",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Launcher/bin/Debug/QuantConnect.Lean.Launcher.dll",
"args": [
"--config",
"${workspaceFolder}/Launcher/bin/Debug/config.json"
],
"cwd": "${workspaceFolder}/Launcher/bin/Debug/",
"stopAtEntry": false,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "Run Tests",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "dotnet",
"args": [
"test",
"${workspaceFolder}/Tests/QuantConnect.Tests.csproj",
"--no-build",
"--filter",
"TestCategory!=TravisExclude&TestCategory!=ResearchRegressionTests"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "Attach to Python",
"type": "python",
"request": "attach",
"port": 5678,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
]
}
]
}