# Debugging

In-kernel debugging is a kernel facility that allows you to analyze the kernel components without using Visual Studio. This can be activated by passing `debug` to the kernel executable. This method has two ways.

## Locally

To get started debugging locally, press the below button

{% content-ref url="debugging/local-debugging" %}
[local-debugging](https://aptivi.gitbook.io/deprecated/nitrocid-ks-v0.1.0-beta-2-manual/advanced-and-power-users/diagnostics/debugging/local-debugging)
{% endcontent-ref %}

## Remotely

To get started debugging remotely, press the below button

{% content-ref url="debugging/remote-debugging" %}
[remote-debugging](https://aptivi.gitbook.io/deprecated/nitrocid-ks-v0.1.0-beta-2-manual/advanced-and-power-users/diagnostics/debugging/remote-debugging)
{% endcontent-ref %}
