summaryrefslogtreecommitdiff
path: root/os.go
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-23 13:23:29 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-23 13:23:29 -0400
commit644e7fa065ba4e6f553998b10de6839301e943cd (patch)
tree29cc88c71b4d26b11bab6175612809bd77ffc327 /os.go
parentbe4883722f00ac71d4586f2e80557fd2ba055d24 (diff)
Add debug logging to golang side
Diffstat (limited to 'os.go')
-rw-r--r--os.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/os.go b/os.go
index 44ec2ba9c..484d07731 100644
--- a/os.go
+++ b/os.go
@@ -3,6 +3,7 @@ package main
import (
"github.com/golang/protobuf/proto"
"io/ioutil"
+ "log"
"net/url"
"os"
"path"
@@ -35,6 +36,9 @@ func InitOS() {
func ResolveModule(moduleSpecifier string, containingFile string) (
moduleName string, filename string, err error) {
+
+ log.Printf("ResolveModule %s %s", moduleSpecifier, containingFile)
+
moduleUrl, err := url.Parse(moduleSpecifier)
if err != nil {
return