736e5d1fe0
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
* Adds Support to Visual Studio Code Dev Container Adds support and documentation to VSCode Dev Container. * Address Peer Review - Adds Dockerfile to install QuantConnect Stubs to enable Python autocomplete. - Adds settings.json to enable Python autocomplete and LF line ending. - Removes autobuilder task. - Fixes Research Laucher * Launcher and Task Impromevents Fixes line endings issue Fixes Launcher to point to right config.json file Improve readme formatting * Simplify Jupyter Notebook Deployment
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
/*
|
|
VS Code Launch configurations for the LEAN engine
|
|
|
|
Launch:
|
|
Builds the project with dotnet 6 and then launches the program using coreclr; supports debugging.
|
|
In order to use this you need dotnet 6 on your system path, As well as the C# extension from the
|
|
marketplace.
|
|
|
|
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. Currently only works with algorithms in
|
|
Algorithm.Python directory. This is because we map that directory to our build directory
|
|
that contains the py file at runtime. If using another location change "localRoot" value
|
|
to the directory in use.
|
|
*/
|
|
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch",
|
|
"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": "Attach to Python",
|
|
"type": "python",
|
|
"request": "attach",
|
|
"port": 5678,
|
|
"pathMappings":[{
|
|
"localRoot": "${workspaceFolder}",
|
|
"remoteRoot": "${workspaceFolder}"
|
|
}]
|
|
}
|
|
]
|
|
} |