@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (22 loc) • 868 B
Markdown
lang: en
title: 'API docs: context.context.debug'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.context.debug.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [Context](./context.context.md) > [debug](./context.context.debug.md)
## Context.debug() method
Wrap the debug statement so that it always print out the context name as the prefix
<b>Signature:</b>
```typescript
protected debug(...args: unknown[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| args | unknown\[\] | Arguments for the debug |
<b>Returns:</b>
void