---
name: "PGASetDebugLevel"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGASetDebugLevel"
---

# PGASetDebugLevel(3)

Turn on a debug level.

## NAME

PGASetDebugLevel - Turn on a debug level.

## DESCRIPTION

Only valid if PGAPack was compiled to include debugging calls.  See the user guide for details.

## INPUT PARAMETERS

- ctx

  \- context variable

- level

  \- the debug level to set to PGA\_TRUE.

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetDebugLevel(ctx, level)
PGAContext *ctx
int level
```

## LOCATION

debug.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGASetDebugLevel(ctx, 70)
```
