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

# PGASetDebugLevelByName(3)

Turn on debugging of the named function.

## NAME

PGASetDebugLevelByName - Turn on debugging of the named function.

## INPUT PARAMETERS

- ctx

  \- context variable

- funcname

  \- name of the function to turn on debugging output

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetDebugLevelByName(ctx, funcname)
PGAContext *ctx
char *funcname
```

## LOCATION

debug.c

## EXAMPLE

```
PGAContext *ctx;
:
PGASetDebugLevelByName(ctx, "PGAGetBinaryAllele");
```
