Skip to content

Commit 0ffdb23

Browse files
committed
Added limitations section in README.md
1 parent 55c4484 commit 0ffdb23

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ composer require okapi/code-transformer
6363
- [Create a transformer](#create-a-transformer)
6464
- [Initialize the kernel](#initialize-the-kernel)
6565
- [Result](#result)
66+
- [Limitations](#limitations)
6667

6768

6869

@@ -251,6 +252,15 @@ $iAmAppended = true;
251252
```
252253

253254

255+
# Limitations
256+
257+
- Normally xdebug will point to the original source code, not the transformed
258+
one. The problem with this is if you add or remove a line of code, xdebug
259+
will point to the wrong line, so try to keep the number of lines the same
260+
as the original source code.
261+
262+
263+
254264
# How it works
255265

256266
- The `Kernel` registers multiple services

0 commit comments

Comments
 (0)