{ /* 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}" } ] } ] }