lazydap launch
Start a program under the debugger
lazydap launch [OPTIONS] <PROGRAM> [-- <ARGS>...]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<PROGRAM> |
The program to debug |
[ARGS]... |
Arguments for the debuggee, after a -- separator. They are kept separate so a debuggee flag can never be mistaken for a lazydap one |
Options
Section titled “Options”| Flag | Description |
|---|---|
--stop-on-entry |
Stop at the program’s entry point instead of running to the first breakpoint |
--cwd <CWD> |
Working directory for the debuggee. Defaults to the current one |
--env <KEY=VALUE> |
Environment for the debuggee, as KEY=VALUE. Repeatable |
--adapter <ADAPTER> |
Which debug adapter to use. Defaults to the one the program’s file extension implies — debugpy for .py, codelldb otherwise |
Plus the options every command takes.
See also
Section titled “See also”- CLI overview — every command in one list
- JSON output — the shape of what comes back
- Errors and exit codes — what to do when it fails