### Start the Debugger

You can start a local debug session on OS/2 or Windows NT from the command shell using the following syntax:

`idebug [` debugger-options`] [`program-name`[`program-parameters`]]`

where:

debugger-options
  includes zero or more valid options supported by the debugger.
program-name
  is one of:
  - The name of an executable file, with a valid path (or no path, if the executable is locatable through the PATH environment variable), and the extension .EXE (optional)
  - The name of a post mortem dump file (OS/2 only)
program-parameters
  includes zero or more parameters your program expects; for C++ programs, these parameters are usually accessed by your program through the `argc` and `argv` arguments to the main function.

If you do not specify a program name, the debugger opens a Startup dialog in which you can choose what you want to debug.

Debugger Options
Postmortem Debugging

Attach to a Process
Debug a DLL