Node debugger fixes.

LSP mouse hover fix when there's also a linter error in the same position.
Fix in emscripten file parameter parsing.
This commit is contained in:
Martín Lucas Golini
2025-07-02 01:41:18 -03:00
parent aa7ee8093a
commit e0b763f637
12 changed files with 132 additions and 78 deletions

View File

@@ -699,11 +699,7 @@ bool App::loadConfig( const LogLevel& logLevel, const Sizeu& displaySize, bool s
mLogsPath = mConfigPath + "ecode.log";
#ifndef EE_DEBUG
Log::create( mLogsPath, logLevel, stdOutLogs, !disableFileLogs );
#else
Log::create( mLogsPath, logLevel, stdOutLogs, !disableFileLogs );
#endif
Log::instance()->setKeepLog( true );
@@ -4057,8 +4053,11 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
globalClock.getElapsedTime().asMilliseconds() );
#if EE_PLATFORM == EE_PLATFORM_EMSCRIPTEN
if ( file.empty() )
downloadFileWeb( "https://raw.githubusercontent.com/SpartanJ/eepp/develop/README.md" );
if ( file.empty() || !mFileToOpen.empty() )
downloadFileWeb(
mFileToOpen.empty()
? "https://raw.githubusercontent.com/SpartanJ/eepp/develop/README.md"
: mFileToOpen );
#endif
if ( mConfig.workspace.checkForUpdatesAtStartup )