jazzdotdev / jazzdotdev/jazz

Modify Lua module loader to trace each file as it's executed

オープン
#167 コメント 2 件 リアクション 0 件 担当者 1 名 @Arnaz87 が担当を希望しています GitHub で見る
progress/1 size/0.5 track/unscoped value/0.75
主要言語
Rust
スター
147
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

If we can prepend every Lua file Torchbear runs with
```
log.trace("running: " .. debug.getinfo(1, 'S').source)
```
Then it'd be much easier to debug.

Since bridge.lua already sends off into the app, I think we'd have to modify the package searcher to basically do standard `require()`, but just add that one liner ahead of the module to run.

Possible?

---
or add `need`, `use`, or `run` instead of require

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。