To setup debugging for Odin programs on Windows with VsCode follow these steps:
- make sure you have the C/C++ extension pack (VsCode extension) installed
- create a
.vscodefolder at the root of your Odin project - copy the
launch.jsonandtasks.jsoninto it - click on the debug tab in VsCode, then click on the debug button at the top (or press F5)
Note: if you want to use a starter template which also sets up a tracking allocator which tracks and reports memory leaks you can use: https://github.com/RednibCoding/Odin-Starter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns my-backend.core | |
| (:gen-class) | |
| (:require [compojure.core :as c] | |
| [compojure.route :as route] | |
| [ring.adapter.jetty :as jetty] | |
| [ring.middleware.defaults :as ring-defaults] | |
| [hiccup2.core :as h] | |
| #_[muuntaja.core :as m] | |
| [muuntaja.middleware :as muuntaja])) |