launchctl debug <argv...>
Configures the next invocation of a service for debugging
Arguments
Name | Description |
---|
argv | Variable args: argv0 argv1 |
Options
Name | Description |
---|
--program <program-path> | Use program path as executable |
--guard-malloc | Turn on libgmalloc |
--malloc-stack-logging | Turn on malloc(3) stack logging |
--malloc-nano-allocator | Turn on malloc(3) nano allocator |
--debug-libraries | Set the DYLD_IMAGE_SUFFIX |
--introspection-libraries | Add introspection libraries to the DYLD_IMAGE_PATH |
--NSZombie | Enables NSZombie |
--32 | Runs service on appropriate 32-bit architecture |
--stdin <stdin-path> | Sets the stdin path |
--stdout <stdout-path> | Sets the stdout path |
--stderr <stderr-path> | Sets the stderr path |
--environment <environment-variables...> | Sets environment variables |