# C# Devkit does not allow for debugging on cursor

**URL:** <https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579>\
**Category:** Help\
**Created:** [August 29, 2024, 2:10pm UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579 "2024-08-29T14:10:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![muaazjoosuf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/muaazjoosuf/32/3715_2.png) [@muaazjoosuf](https://forum.cursor.com/u/muaazjoosuf)\
**Post date:** [August 29, 2024, 2:10pm UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/1 "2024-08-29T14:10:04Z")

</div>

Something interesting i have noticed, c# dev kit does not allow for debugging. the error you get when trying to run the project is that devkit is only supported for vs-code.

not sure what cursor’s team can do about this, as it is the only way to run dot net projects on mac (besides intellj) and porting from vs-code to cursor, this can be a semi deal breaker

---

<div class="post-metadata">

**Author:** ![gokcin](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gokcin](https://forum.cursor.com/u/gokcin)\
**Post date:** [August 29, 2024, 2:19pm UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/2 "2024-08-29T14:19:12Z")

</div>

yes I managed to make samsungs netcoredbg work with cursor. please try out [dgokcin/dotnet-cursor-debugging-with-breakpoints (github.com)](https://github.com/dgokcin/dotnet-cursor-debugging-with-breakpoints) and let me know if it works for you.

---

<div class="post-metadata">

**Author:** ![muaazjoosuf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/muaazjoosuf/32/3715_2.png) [@muaazjoosuf](https://forum.cursor.com/u/muaazjoosuf)\
**Post date:** [August 30, 2024, 7:00am UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/3 "2024-08-30T07:00:31Z")

</div>

WIll try it out!

---

<div class="post-metadata">

**Author:** ![muaazjoosuf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/muaazjoosuf/32/3715_2.png) [@muaazjoosuf](https://forum.cursor.com/u/muaazjoosuf)\
**Post date:** [August 30, 2024, 7:29am UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/4 "2024-08-30T07:29:15Z")

</div>

im getting the following error

```bash
Error from pipe program 'bash': bash: /Users/xxx/repos/cursor/netcoredbg: is a directory

```

---

<div class="post-metadata">

**Author:** ![muaazjoosuf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/muaazjoosuf/32/3715_2.png) [@muaazjoosuf](https://forum.cursor.com/u/muaazjoosuf)\
**Post date:** [August 30, 2024, 7:41am UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/5 "2024-08-30T07:41:30Z")

</div>

Now im getting this  
Could not execute because the specified command or file was not found.

```bash

Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-/Users/xxx/repos/xxx/bin/Debug/net6.0/xxx.Api.dll does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

```

---

<div class="post-metadata">

**Author:** ![gokcin](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gokcin](https://forum.cursor.com/u/gokcin)\
**Post date:** [August 30, 2024, 7:48am UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/6 "2024-08-30T07:48:26Z")

</div>

I am feeling like you only cloned the netcoredb repository. you need to compile and install it as well. @muaazjoosuf. I would advise you to first try following the instructions in the above repo and try debugging that before a different project.

---

<div class="post-metadata">

**Author:** ![qwadrox](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/qwadrox/32/59550_2.png) [@qwadrox](https://forum.cursor.com/u/qwadrox)\
**Post date:** [May 29, 2025, 6:07pm UTC](https://forum.cursor.com/t/c-devkit-does-not-allow-for-debugging-on-cursor/13579/7 "2025-05-29T18:07:54Z")

</div>

There is a very good alternative which works perfectly with cursor: [Reddit - The heart of the internet](https://www.reddit.com/r/dotnet/comments/1kwg7p9/dotrush_debug_test_and_profile_your_c_code_in/)
