Add ignore option to ignore paths#66
Conversation
Codecov Report
@@ Coverage Diff @@
## master #66 +/- ##
==========================================
+ Coverage 62.06% 62.28% +0.22%
==========================================
Files 5 5
Lines 825 830 +5
Branches 138 138
==========================================
+ Hits 512 517 +5
Misses 256 256
Partials 57 57
Continue to review full report at Codecov.
|
|
@felixfbecker yes. unfortunately i'm unable to debug |
|
@apit why? Do the tests pass? |
|
@apit I've gotten this branch to work and debug properly. The one error I've noticed:
@felixfbecker This branch works great on my setup.
|
|
Is this happening? I could really use this right now. |
|
@QwertyZW could you try out this branch and test if it works fine for your? |
|
It works as expected, except that, like what @xuanyou mentioned, I had to use |
|
yeah, that makes sense. thanks for trying out |
|
Can someone please tell me where do i need to add this: **/directoryToBeIgnored/**/*.php? |
|
In launch.json |
|
Please read the vscode debugging documentation https://code.visualstudio.com/docs/editor/debugging |
|
@felixfbecker Thanks for the link. I checked on the link, but did not find anyway to add the ignore option to the launch.json. The way way it has been explained here "2b68a85" does not work for me. |
|
@noorcs can you post your launch.json? |
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"ignore": [
"**/external/**/*.php",
"**/rtms/external/**/*.php"
]
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000,
"ignore": [
"**/external/**/*.php",
"**/rtms/external/**/*.php"
]
}
]
}` |
|
@felixfbecker any ideas why isn't it working for me? I have tried it with many different settings, but no success yet. I am using latest updated version of vscode insiders. |
|
Does this
I'm looking to skip, any ideas? Thank you. |
|
I also look for ways to automatically step out of vendor code. |
|
For the record, https://code.visualstudio.com/docs/editor/debugging does not mention any "ignore" functionality. |
|
I would prefer a whitelist that allows you to set paths you don't want to ignore. |
Closes #33
@VivPat @apit does this suit you?