Skip to content

Commit eb6e760

Browse files
committed
Add logs
1 parent 8fa5acb commit eb6e760

File tree

1 file changed

+7
-0
lines changed
  • packages/tailwindcss-language-server/src

1 file changed

+7
-0
lines changed

packages/tailwindcss-language-server/src/tw.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,11 @@ export class TW {
792792
// to normalize it so that we can compare it properly.
793793
fsPath = normalizeDriveLetter(fsPath)
794794

795+
console.debug('[GLOBAL] Matching project to document', {
796+
fsPath,
797+
normalPath,
798+
})
799+
795800
for (let project of this.projects.values()) {
796801
if (!project.projectConfig.configPath) {
797802
fallbackProject = fallbackProject ?? project
@@ -812,6 +817,8 @@ export class TW {
812817
return 0
813818
})
814819

820+
console.debug('[GLOBAL] Checking selectors', documentSelector)
821+
815822
for (let selector of documentSelector) {
816823
let pattern = selector.pattern.replace(/[\[\]{}]/g, (m) => `\\${m}`)
817824

0 commit comments

Comments
 (0)