make basic debugging possible
This commit is contained in:
parent
27b081d1f7
commit
ba3c6d022b
3 changed files with 9 additions and 9 deletions
2
koch.nim
2
koch.nim
|
|
@ -470,7 +470,7 @@ proc temp(args: string) =
|
|||
# commit.
|
||||
let (bootArgs, programArgs) = splitArgs(args)
|
||||
let nimexec = findNim()
|
||||
exec(nimexec & " c -d:debug " & bootArgs & " compiler" / "nim", 125)
|
||||
exec(nimexec & " c --debugger:native " & bootArgs & " compiler" / "nim", 125)
|
||||
copyExe(output, finalDest)
|
||||
if programArgs.len > 0: exec(finalDest & " " & programArgs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue