<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div>I'm interested in doing Web Application using Swift and promoting this to be a trend someday.</div><div>But I couldn't find a way to debug web apps without using Xcode</div><div>This is irrelevant because web applications are mainly on Linux, so what if we want to do remote debugging ?</div><div id="yui_3_16_0_ym19_1_1509899666408_2586"><br></div><div id="yui_3_16_0_ym19_1_1509899666408_2587" dir="ltr">I tried using the SPM, and when I try to compile a Kitura or Perfect app then try to debug it, it gives me this</div><div dir="ltr"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1509899666408_2649">(lldb) po print(self)<br id="yui_3_16_0_ym19_1_1509899666408_2644">warning: Swift error in module &lt;moduleName&gt;.<br id="yui_3_16_0_ym19_1_1509899666408_2645">Debug info from this module will be unavailable in the debugger.<br id="yui_3_16_0_ym19_1_1509899666408_2646"><br id="yui_3_16_0_ym19_1_1509899666408_2647">error: in auto-import:<br id="yui_3_16_0_ym19_1_1509899666408_2648">failed to get module '&lt;SomeModuleName&gt;' from AST context</div><div dir="ltr" id="yui_3_16_0_ym19_1_1509899666408_2655"><br></div><div id="yui_3_16_0_ym19_1_1509899666408_2578">I'm using macOS Sierra (sorry didn't have time to upgrade), with Swift 4 that comes with Xcode 9</div><div>Also tried the same experiment on Xubuntu using Swift 4 debian package provided on swift.org itself</div><div><br></div><div id="yui_3_16_0_ym19_1_1509899666408_2691">The only succeeded way is to generate an xcodeproj and compile it, this is irrelevant because it is only macOS, while servers are Linux.<br></div></div></body></html>